Title: [124794] trunk/LayoutTests
Revision
124794
Author
commit-qu...@webkit.org
Date
2012-08-06 12:56:45 -0700 (Mon, 06 Aug 2012)

Log Message

Layout Test: Windows specific tests needed for fast/css/getComputedStyle/computed-style.html & computed-style-without-renderer.html
https://bugs.webkit.org/show_bug.cgi?id=93033

Patch by Roger Fong <roger_f...@apple.com> on 2012-08-06
Reviewed by Tim Horton.

Windows specific computed-style and computed-style-without-renderer tests are needed since CSS3 Flexbox is disabled on windows,
see https://bugs.webkit.org/show_bug.cgi?id=92047, new CSS3 Flexbox properties no longer used.

* platform/win/fast/css/getComputedStyle/computed-style-expected.txt: Added.
* platform/win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (124793 => 124794)


--- trunk/LayoutTests/ChangeLog	2012-08-06 19:17:20 UTC (rev 124793)
+++ trunk/LayoutTests/ChangeLog	2012-08-06 19:56:45 UTC (rev 124794)
@@ -1,3 +1,16 @@
+2012-08-06  Roger Fong  <roger_f...@apple.com>
+
+        Layout Test: Windows specific tests needed for fast/css/getComputedStyle/computed-style.html & computed-style-without-renderer.html
+        https://bugs.webkit.org/show_bug.cgi?id=93033
+
+        Reviewed by Tim Horton.
+
+        Windows specific computed-style and computed-style-without-renderer tests are needed since CSS3 Flexbox is disabled on windows,
+        see https://bugs.webkit.org/show_bug.cgi?id=92047, new CSS3 Flexbox properties no longer used.
+        
+        * platform/win/fast/css/getComputedStyle/computed-style-expected.txt: Added.
+        * platform/win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: Added.
+
 2012-07-31  Ojan Vafai  <o...@chromium.org>
 
         need tests to ensure flexboxes play nicely with box-sizing

Added: trunk/LayoutTests/platform/win/fast/css/getComputedStyle/computed-style-expected.txt (0 => 124794)


--- trunk/LayoutTests/platform/win/fast/css/getComputedStyle/computed-style-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/fast/css/getComputedStyle/computed-style-expected.txt	2012-08-06 19:56:45 UTC (rev 124794)
@@ -0,0 +1,257 @@
+Attributes that are exposed in the CSS computed style object:
+
+background-attachment: scroll;
+background-clip: border-box;
+background-color: rgba(0, 0, 0, 0);
+background-image: none;
+background-origin: padding-box;
+background-position: 0% 0%;
+background-repeat: repeat;
+background-size: auto;
+border-bottom-color: rgb(0, 0, 0);
+border-bottom-left-radius: 0px;
+border-bottom-right-radius: 0px;
+border-bottom-style: none;
+border-bottom-width: 0px;
+border-collapse: separate;
+border-image-outset: 0px;
+border-image-repeat: stretch;
+border-image-slice: 100%;
+border-image-source: none;
+border-image-width: 1;
+border-left-color: rgb(0, 0, 0);
+border-left-style: none;
+border-left-width: 0px;
+border-right-color: rgb(0, 0, 0);
+border-right-style: none;
+border-right-width: 0px;
+border-top-color: rgb(0, 0, 0);
+border-top-left-radius: 0px;
+border-top-right-radius: 0px;
+border-top-style: none;
+border-top-width: 0px;
+bottom: auto;
+box-shadow: none;
+box-sizing: content-box;
+caption-side: top;
+clear: none;
+clip: auto;
+color: rgb(0, 0, 0);
+cursor: auto;
+direction: ltr;
+display: block;
+empty-cells: show;
+float: none;
+font-size: 16px;
+font-style: normal;
+font-variant: normal;
+font-weight: normal;
+height: 576px;
+image-rendering: auto;
+left: auto;
+letter-spacing: normal;
+line-height: normal;
+list-style-image: none;
+list-style-position: outside;
+list-style-type: disc;
+margin-bottom: 8px;
+margin-left: 8px;
+margin-right: 8px;
+margin-top: 8px;
+max-height: none;
+max-width: none;
+min-height: 0px;
+min-width: 0px;
+opacity: 1;
+orphans: 2;
+outline-color: rgb(0, 0, 0);
+outline-style: none;
+outline-width: 0px;
+overflow-x: visible;
+overflow-y: visible;
+padding-bottom: 0px;
+padding-left: 0px;
+padding-right: 0px;
+padding-top: 0px;
+page-break-after: auto;
+page-break-before: auto;
+page-break-inside: auto;
+pointer-events: auto;
+position: static;
+resize: none;
+right: auto;
+speak: normal;
+table-layout: auto;
+tab-size: 8;
+text-align: start;
+text-decoration: none;
+text-indent: 0px;
+text-rendering: auto;
+text-shadow: none;
+text-overflow: clip;
+text-transform: none;
+top: auto;
+unicode-bidi: normal;
+vertical-align: baseline;
+visibility: visible;
+white-space: normal;
+widows: 2;
+width: 784px;
+word-break: normal;
+word-spacing: 0px;
+word-wrap: normal;
+z-index: auto;
+zoom: 1;
+-webkit-animation-delay: 0s;
+-webkit-animation-direction: normal;
+-webkit-animation-duration: 0s;
+-webkit-animation-fill-mode: none;
+-webkit-animation-iteration-count: 1;
+-webkit-animation-name: none;
+-webkit-animation-play-state: running;
+-webkit-animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
+-webkit-appearance: none;
+-webkit-backface-visibility: visible;
+-webkit-background-clip: border-box;
+-webkit-background-composite: source-over;
+-webkit-background-origin: padding-box;
+-webkit-background-size: auto;
+-webkit-border-fit: border;
+-webkit-border-horizontal-spacing: 0px;
+-webkit-border-image: none;
+-webkit-border-vertical-spacing: 0px;
+-webkit-box-align: stretch;
+-webkit-box-decoration-break: slice;
+-webkit-box-direction: normal;
+-webkit-box-flex: 0;
+-webkit-box-flex-group: 1;
+-webkit-box-lines: single;
+-webkit-box-ordinal-group: 1;
+-webkit-box-orient: horizontal;
+-webkit-box-pack: start;
+-webkit-box-reflect: none;
+-webkit-box-shadow: none;
+-webkit-color-correction: default;
+-webkit-column-break-after: auto;
+-webkit-column-break-before: auto;
+-webkit-column-break-inside: auto;
+-webkit-column-axis: auto;
+-webkit-column-count: auto;
+-webkit-column-gap: normal;
+-webkit-column-rule-color: rgb(0, 0, 0);
+-webkit-column-rule-style: none;
+-webkit-column-rule-width: 0px;
+-webkit-column-span: 1;
+-webkit-column-width: auto;
+-webkit-font-kerning: auto;
+-webkit-font-smoothing: auto;
+-webkit-font-variant-ligatures: normal;
+-webkit-grid-column: auto;
+-webkit-grid-row: auto;
+-webkit-highlight: none;
+-webkit-hyphenate-character: auto;
+-webkit-hyphenate-limit-after: auto;
+-webkit-hyphenate-limit-before: auto;
+-webkit-hyphenate-limit-lines: no-limit;
+-webkit-hyphens: manual;
+-webkit-line-align: none;
+-webkit-line-box-contain: block inline replaced;
+-webkit-line-break: normal;
+-webkit-line-clamp: none;
+-webkit-line-grid: none;
+-webkit-line-snap: none;
+-webkit-locale: auto;
+-webkit-margin-before-collapse: collapse;
+-webkit-margin-after-collapse: collapse;
+-webkit-marquee-direction: auto;
+-webkit-marquee-increment: 6px;
+-webkit-marquee-repetition: infinite;
+-webkit-marquee-style: scroll;
+-webkit-mask-attachment: scroll;
+-webkit-mask-box-image: none;
+-webkit-mask-box-image-outset: 0px;
+-webkit-mask-box-image-repeat: stretch;
+-webkit-mask-box-image-slice: 0 fill;
+-webkit-mask-box-image-source: none;
+-webkit-mask-box-image-width: auto;
+-webkit-mask-clip: border-box;
+-webkit-mask-composite: source-over;
+-webkit-mask-image: none;
+-webkit-mask-origin: border-box;
+-webkit-mask-position: 0% 0%;
+-webkit-mask-repeat: repeat;
+-webkit-mask-size: auto;
+-webkit-nbsp-mode: normal;
+-webkit-perspective: none;
+-webkit-perspective-origin: 392px 288px;
+-webkit-print-color-adjust: economy;
+-webkit-rtl-ordering: logical;
+-webkit-text-combine: none;
+-webkit-text-decorations-in-effect: none;
+-webkit-text-emphasis-color: rgb(0, 0, 0);
+-webkit-text-emphasis-position: over;
+-webkit-text-emphasis-style: none;
+-webkit-text-fill-color: rgb(0, 0, 0);
+-webkit-text-orientation: vertical-right;
+-webkit-text-security: none;
+-webkit-text-stroke-color: rgb(0, 0, 0);
+-webkit-text-stroke-width: 0px;
+-webkit-transform: none;
+-webkit-transform-origin: 392px 288px;
+-webkit-transform-style: flat;
+-webkit-transition-delay: 0s;
+-webkit-transition-duration: 0s;
+-webkit-transition-property: all;
+-webkit-transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
+-webkit-user-drag: auto;
+-webkit-user-modify: read-only;
+-webkit-user-select: text;
+-webkit-writing-mode: horizontal-tb;
+clip-path: none;
+clip-rule: nonzero;
+mask: none;
+filter: none;
+flood-color: rgb(0, 0, 0);
+flood-opacity: 1;
+lighting-color: rgb(255, 255, 255);
+stop-color: rgb(0, 0, 0);
+stop-opacity: 1;
+color-interpolation: srgb;
+color-interpolation-filters: linearrgb;
+color-rendering: auto;
+fill: #000000;
+fill-opacity: 1;
+fill-rule: nonzero;
+marker-end: none;
+marker-mid: none;
+marker-start: none;
+shape-rendering: auto;
+stroke: none;
+stroke-dasharray: none;
+stroke-dashoffset: 0;
+stroke-linecap: butt;
+stroke-linejoin: miter;
+stroke-miterlimit: 4;
+stroke-opacity: 1;
+stroke-width: 1;
+alignment-baseline: auto;
+baseline-shift: baseline;
+dominant-baseline: auto;
+kerning: 0;
+text-anchor: start;
+writing-mode: lr-tb;
+glyph-orientation-horizontal: 0deg;
+glyph-orientation-vertical: auto;
+-webkit-svg-shadow: none;
+vector-effect: none;
+
+Other attributes that the computed style class supports:
+
+background-position-x: 0%;
+background-position-y: 0%;
+border-spacing: 0px 0px;
+overflow: visible;
+-webkit-mask-position-x: 0%;
+-webkit-mask-position-y: 0%;
+-webkit-text-size-adjust: auto;
+

Added: trunk/LayoutTests/platform/win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt (0 => 124794)


--- trunk/LayoutTests/platform/win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt	2012-08-06 19:56:45 UTC (rev 124794)
@@ -0,0 +1,268 @@
+Computed style of an element whose parent's 'display' value is 'none':
+background-attachment: scroll
+background-clip: border-box
+background-color: rgb(0, 128, 0)
+background-image: none
+background-origin: padding-box
+background-position: 0% 0%
+background-repeat: repeat
+background-size: auto
+border-bottom-color: rgb(0, 0, 0)
+border-bottom-left-radius: 0px
+border-bottom-right-radius: 0px
+border-bottom-style: none
+border-bottom-width: 0px
+border-collapse: separate
+border-image-outset: 0px
+border-image-repeat: stretch
+border-image-slice: 100%
+border-image-source: none
+border-image-width: 1
+border-left-color: rgb(0, 0, 0)
+border-left-style: none
+border-left-width: 0px
+border-right-color: rgb(0, 0, 0)
+border-right-style: none
+border-right-width: 0px
+border-top-color: rgb(0, 0, 0)
+border-top-left-radius: 0px
+border-top-right-radius: 0px
+border-top-style: solid
+border-top-width: 16px
+bottom: auto
+box-shadow: none
+box-sizing: content-box
+caption-side: top
+clear: none
+clip: auto
+color: rgb(0, 0, 0)
+cursor: auto
+direction: ltr
+display: block
+empty-cells: show
+float: none
+font-size: 16px
+font-style: normal
+font-variant: normal
+font-weight: normal
+height: 100px
+image-rendering: auto
+left: auto
+letter-spacing: normal
+line-height: normal
+list-style-image: none
+list-style-position: outside
+list-style-type: disc
+margin-bottom: 0px
+margin-left: auto
+margin-right: 0px
+margin-top: 0px
+max-height: none
+max-width: none
+min-height: 0px
+min-width: 0px
+opacity: 1
+orphans: 2
+outline-color: rgb(0, 0, 0)
+outline-style: none
+outline-width: 0px
+overflow-x: visible
+overflow-y: visible
+padding-bottom: 0px
+padding-left: 0px
+padding-right: 0px
+padding-top: 0px
+page-break-after: auto
+page-break-before: auto
+page-break-inside: auto
+pointer-events: auto
+position: static
+resize: none
+right: auto
+speak: normal
+table-layout: auto
+tab-size: 8
+text-align: start
+text-decoration: none
+text-indent: 0px
+text-rendering: auto
+text-shadow: none
+text-overflow: clip
+text-transform: none
+top: auto
+unicode-bidi: normal
+vertical-align: baseline
+visibility: visible
+white-space: normal
+widows: 2
+width: 50%
+word-break: normal
+word-spacing: 0px
+word-wrap: normal
+z-index: auto
+zoom: 1
+-webkit-animation-delay: 0s
+-webkit-animation-direction: normal
+-webkit-animation-duration: 0s
+-webkit-animation-fill-mode: none
+-webkit-animation-iteration-count: 1
+-webkit-animation-name: none
+-webkit-animation-play-state: running
+-webkit-animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1)
+-webkit-appearance: none
+-webkit-backface-visibility: visible
+-webkit-background-clip: border-box
+-webkit-background-composite: source-over
+-webkit-background-origin: padding-box
+-webkit-background-size: auto
+-webkit-border-fit: border
+-webkit-border-horizontal-spacing: 0px
+-webkit-border-image: none
+-webkit-border-vertical-spacing: 0px
+-webkit-box-align: stretch
+-webkit-box-decoration-break: slice
+-webkit-box-direction: normal
+-webkit-box-flex: 0
+-webkit-box-flex-group: 1
+-webkit-box-lines: single
+-webkit-box-ordinal-group: 1
+-webkit-box-orient: horizontal
+-webkit-box-pack: start
+-webkit-box-reflect: none
+-webkit-box-shadow: none
+-webkit-color-correction: default
+-webkit-column-break-after: auto
+-webkit-column-break-before: auto
+-webkit-column-break-inside: auto
+-webkit-column-axis: auto
+-webkit-column-count: auto
+-webkit-column-gap: normal
+-webkit-column-rule-color: rgb(0, 0, 0)
+-webkit-column-rule-style: none
+-webkit-column-rule-width: 0px
+-webkit-column-span: 1
+-webkit-column-width: auto
+-webkit-font-kerning: auto
+-webkit-font-smoothing: auto
+-webkit-font-variant-ligatures: normal
+-webkit-grid-column: auto
+-webkit-grid-row: auto
+-webkit-highlight: none
+-webkit-hyphenate-character: auto
+-webkit-hyphenate-limit-after: auto
+-webkit-hyphenate-limit-before: auto
+-webkit-hyphenate-limit-lines: no-limit
+-webkit-hyphens: manual
+-webkit-line-align: none
+-webkit-line-box-contain: block inline replaced
+-webkit-line-break: normal
+-webkit-line-clamp: none
+-webkit-line-grid: none
+-webkit-line-snap: none
+-webkit-locale: auto
+-webkit-margin-before-collapse: collapse
+-webkit-margin-after-collapse: collapse
+-webkit-marquee-direction: auto
+-webkit-marquee-increment: 6px
+-webkit-marquee-repetition: infinite
+-webkit-marquee-style: scroll
+-webkit-mask-attachment: scroll
+-webkit-mask-box-image: none
+-webkit-mask-box-image-outset: 0px
+-webkit-mask-box-image-repeat: stretch
+-webkit-mask-box-image-slice: 0 fill
+-webkit-mask-box-image-source: none
+-webkit-mask-box-image-width: auto
+-webkit-mask-clip: border-box
+-webkit-mask-composite: source-over
+-webkit-mask-image: none
+-webkit-mask-origin: border-box
+-webkit-mask-position: 0% 0%
+-webkit-mask-repeat: repeat
+-webkit-mask-size: auto
+-webkit-nbsp-mode: normal
+-webkit-perspective: none
+-webkit-perspective-origin: 50% 50%
+-webkit-print-color-adjust: economy
+-webkit-rtl-ordering: logical
+-webkit-text-combine: none
+-webkit-text-decorations-in-effect: none
+-webkit-text-emphasis-color: rgb(0, 0, 0)
+-webkit-text-emphasis-position: over
+-webkit-text-emphasis-style: none
+-webkit-text-fill-color: rgb(0, 0, 0)
+-webkit-text-orientation: vertical-right
+-webkit-text-security: none
+-webkit-text-stroke-color: rgb(0, 0, 0)
+-webkit-text-stroke-width: 0px
+-webkit-transform: none
+-webkit-transform-origin: 50% 50%
+-webkit-transform-style: flat
+-webkit-transition-delay: 0s
+-webkit-transition-duration: 0s
+-webkit-transition-property: all
+-webkit-transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1)
+-webkit-user-drag: auto
+-webkit-user-modify: read-only
+-webkit-user-select: text
+-webkit-writing-mode: horizontal-tb
+clip-path: none
+clip-rule: nonzero
+mask: none
+filter: none
+flood-color: rgb(0, 0, 0)
+flood-opacity: 1
+lighting-color: rgb(255, 255, 255)
+stop-color: rgb(0, 0, 0)
+stop-opacity: 1
+color-interpolation: srgb
+color-interpolation-filters: linearrgb
+color-rendering: auto
+fill: #000000
+fill-opacity: 1
+fill-rule: nonzero
+marker-end: none
+marker-mid: none
+marker-start: none
+shape-rendering: auto
+stroke: none
+stroke-dasharray: none
+stroke-dashoffset: 0
+stroke-linecap: butt
+stroke-linejoin: miter
+stroke-miterlimit: 4
+stroke-opacity: 1
+stroke-width: 1
+alignment-baseline: auto
+baseline-shift: baseline
+dominant-baseline: auto
+kerning: 0
+text-anchor: start
+writing-mode: lr-tb
+glyph-orientation-horizontal: 0deg
+glyph-orientation-vertical: auto
+-webkit-svg-shadow: none
+vector-effect: none
+background-position-x: 0%
+background-position-y: 0%
+border-spacing: 0px 0px
+overflow: visible
+-webkit-mask-position-x: 0%
+-webkit-mask-position-y: 0%
+-webkit-text-size-adjust: auto
+
+After changing grandparent's 'color' and the parent's 'font-size' inherited properties:
+border-top-width: 18px
+color: rgb(0, 0, 255)
+
+After changing the parent's 'display' property to 'block', so that the child gets a renderer:
+height: 100px
+margin-left: 350px
+width: 350px
+
+After changing the parent's 'display' property back to 'none':
+height: 100px
+margin-left: auto
+width: 50%
+
+
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to