Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(298)

Side by Side Diff: LayoutTests/fast/css/all-shorthand-css-text-expected.txt

Issue 216803002: Implement all shorthand property. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated css-properties-as-js-properties-expected.txt Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Test for crbug.com/172051: all shorthand property.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS cssRules.length is 11
7 PASS cssRules[0].cssText is "div { all: initial; }"
8 PASS cssRules[1].cssText is "div { font-family: initial; font-kerning: initial; font-size: initial; font-style: initial; font-variant: initial; font-variant-lig atures: initial; font-weight: initial; text-rendering: initial; -webkit-font-fea ture-settings: initial; -webkit-font-smoothing: initial; -webkit-locale: initial ; -webkit-text-orientation: initial; -webkit-writing-mode: initial; line-height: initial; border-collapse: initial; caption-side: initial; cursor: initial; empt y-cells: initial; image-rendering: initial; letter-spacing: initial; list-style: initial; orphans: initial; pointer-events: initial; quotes: initial; resize: in itial; speak: initial; tab-size: initial; text-align: initial; text-align-last: initial; text-indent: initial; text-justify: initial; text-shadow: initial; text -transform: initial; text-underline-position: initial; touch-action-delay: initi al; visibility: initial; white-space: initial; widows: initial; word-break: init ial; word-spacing: initial; word-wrap: initial; -webkit-aspect-ratio: initial; b order-spacing: initial; -webkit-box-direction: initial; -webkit-highlight: initi al; -webkit-hyphenate-character: initial; -webkit-line-box-contain: initial; -we bkit-line-break: initial; -webkit-print-color-adjust: initial; -webkit-rtl-order ing: initial; -webkit-ruby-position: initial; -webkit-text-combine: initial; -we bkit-text-decorations-in-effect: initial; -webkit-text-emphasis-color: initial; -webkit-text-emphasis-position: initial; -webkit-text-emphasis-style: initial; - webkit-text-fill-color: initial; -webkit-text-security: initial; -webkit-text-st roke-color: initial; -webkit-text-stroke-width: initial; -webkit-user-modify: in itial; -webkit-user-select: initial; -webkit-tap-highlight-color: initial; color : red; background: initial; }"
dglazkov 2014/03/28 16:56:03 This is going to need an update every time a CSS p
tasak 2014/04/01 10:17:49 I see. I changed these lines to check just whether
9 PASS cssRules[2].cssText is "div { all: initial; }"
10 PASS cssRules[3].cssText is "div { all: initial !important; }"
11 PASS cssRules[4].cssText is "div { font-family: initial; font-kerning: initial; font-size: initial; font-style: initial; font-variant: initial; font-variant-lig atures: initial; font-weight: initial; text-rendering: initial; -webkit-font-fea ture-settings: initial; -webkit-font-smoothing: initial; -webkit-locale: initial ; -webkit-text-orientation: initial; -webkit-writing-mode: initial; line-height: initial; border-collapse: initial; caption-side: initial; cursor: initial; empt y-cells: initial; image-rendering: initial; letter-spacing: initial; list-style: initial; orphans: initial; pointer-events: initial; quotes: initial; resize: in itial; speak: initial; tab-size: initial; text-align: initial; text-align-last: initial; text-indent: initial; text-justify: initial; text-shadow: initial; text -transform: initial; text-underline-position: initial; touch-action-delay: initi al; visibility: initial; white-space: initial; widows: initial; word-break: init ial; word-spacing: initial; word-wrap: initial; -webkit-aspect-ratio: initial; b order-spacing: initial; -webkit-box-direction: initial; -webkit-highlight: initi al; -webkit-hyphenate-character: initial; -webkit-line-box-contain: initial; -we bkit-line-break: initial; -webkit-print-color-adjust: initial; -webkit-rtl-order ing: initial; -webkit-ruby-position: initial; -webkit-text-combine: initial; -we bkit-text-decorations-in-effect: initial; -webkit-text-emphasis-color: initial; -webkit-text-emphasis-position: initial; -webkit-text-emphasis-style: initial; - webkit-text-fill-color: initial; -webkit-text-security: initial; -webkit-text-st roke-color: initial; -webkit-text-stroke-width: initial; -webkit-user-modify: in itial; -webkit-user-select: initial; -webkit-tap-highlight-color: initial; color : red !important; background: initial; }"
12 PASS cssRules[5].cssText is "div { all: inherit; }"
13 PASS cssRules[6].cssText is "div { display: inherit; -webkit-animation: inherit; -webkit-animation-play-state: inherit; animation-delay: inherit; animation-dire ction: inherit; animation-duration: inherit; animation-fill-mode: inherit; anima tion-iteration-count: inherit; animation-name: inherit; animation-play-state: in herit; animation-timing-function: inherit; -webkit-transition: inherit; transiti on: inherit; font-family: inherit; font-kerning: inherit; font-size: inherit; fo nt-style: inherit; font-variant: inherit; font-variant-ligatures: inherit; font- weight: inherit; text-rendering: inherit; -webkit-font-feature-settings: inherit ; -webkit-font-smoothing: inherit; -webkit-locale: inherit; -webkit-text-orienta tion: inherit; -webkit-writing-mode: inherit; zoom: inherit; line-height: inheri t; background-blend-mode: inherit; border: inherit; border-bottom-left-radius: i nherit; border-bottom-right-radius: inherit; border-collapse: inherit; border-im age-outset: inherit; border-image-repeat: inherit; border-image-slice: inherit; border-image-source: inherit; border-image-width: inherit; border-top-left-radiu s: inherit; border-top-right-radius: inherit; bottom: inherit; box-shadow: inher it; box-sizing: inherit; caption-side: inherit; clear: inherit; clip: inherit; - webkit-clip-path: inherit; content: inherit; counter-increment: inherit; counter -reset: inherit; cursor: inherit; empty-cells: inherit; float: inherit; font-str etch: inherit; height: inherit; image-rendering: inherit; isolation: inherit; ju stify-self: inherit; left: inherit; letter-spacing: inherit; list-style: inherit ; margin: inherit; mask-source-type: inherit; max-height: inherit; max-width: in herit; min-height: inherit; min-width: inherit; mix-blend-mode: inherit; opacity : inherit; orphans: inherit; outline: inherit; outline-offset: inherit; object-f it: inherit; object-position: inherit; overflow-wrap: inherit; overflow: inherit ; padding: inherit; page: inherit; page-break-after: inherit; page-break-before: inherit; page-break-inside: inherit; pointer-events: inherit; position: inherit ; quotes: inherit; resize: inherit; right: inherit; scroll-behavior: inherit; si ze: inherit; src: inherit; speak: inherit; table-layout: inherit; tab-size: inhe rit; text-align: inherit; text-align-last: inherit; text-decoration-line: inheri t; text-decoration-style: inherit; text-decoration-color: inherit; text-indent: inherit; text-justify: inherit; text-line-through-color: inherit; text-line-thro ugh-mode: inherit; text-line-through-style: inherit; text-line-through-width: in herit; text-overflow: inherit; text-overline-color: inherit; text-overline-mode: inherit; text-overline-style: inherit; text-overline-width: inherit; text-shado w: inherit; text-transform: inherit; text-underline-color: inherit; text-underli ne-mode: inherit; text-underline-style: inherit; text-underline-width: inherit; text-underline-position: inherit; top: inherit; touch-action: inherit; touch-act ion-delay: inherit; unicode-range: inherit; vertical-align: inherit; visibility: inherit; white-space: inherit; widows: inherit; width: inherit; will-change: in herit; word-break: inherit; word-spacing: inherit; word-wrap: inherit; z-index: inherit; -webkit-appearance: inherit; -webkit-aspect-ratio: inherit; -webkit-bac kface-visibility: inherit; -webkit-background-clip: inherit; -webkit-background- composite: inherit; -webkit-background-origin: inherit; -webkit-background-size: inherit; -webkit-border-after-color: inherit; -webkit-border-after-style: inher it; -webkit-border-after-width: inherit; -webkit-border-before-color: inherit; - webkit-border-before-style: inherit; -webkit-border-before-width: inherit; -webk it-border-end-color: inherit; -webkit-border-end-style: inherit; -webkit-border- end-width: inherit; -webkit-border-fit: inherit; border-spacing: inherit; -webki t-border-image: inherit; -webkit-border-start-color: inherit; -webkit-border-sta rt-style: inherit; -webkit-border-start-width: inherit; -webkit-box-align: inher it; -webkit-box-direction: inherit; -webkit-box-flex: inherit; -webkit-box-flex- group: inherit; -webkit-box-lines: inherit; -webkit-box-ordinal-group: inherit; -webkit-box-orient: inherit; -webkit-box-pack: inherit; -webkit-box-reflect: inh erit; -webkit-box-shadow: inherit; -internal-callback: inherit; -webkit-column-b reak-after: inherit; -webkit-column-break-before: inherit; -webkit-column-break- inside: inherit; -webkit-column-count: inherit; column-fill: inherit; -webkit-co lumn-gap: inherit; -webkit-column-rule-color: inherit; -webkit-column-rule-style : inherit; -webkit-column-rule-width: inherit; -webkit-column-span: inherit; -we bkit-column-width: inherit; -webkit-box-decoration-break: inherit; -webkit-filte r: inherit; align-content: inherit; align-items: inherit; align-self: inherit; f lex: inherit; flex-flow: inherit; justify-content: inherit; grid-auto-columns: i nherit; grid-auto-flow: inherit; grid-auto-rows: inherit; grid-column-end: inher it; grid-column-start: inherit; grid-template-columns: inherit; grid-template-ro ws: inherit; grid-row-end: inherit; grid-row-start: inherit; grid-template-areas : inherit; -webkit-highlight: inherit; -webkit-hyphenate-character: inherit; -we bkit-line-box-contain: inherit; -webkit-line-break: inherit; -webkit-line-clamp: inherit; -webkit-logical-width: inherit; -webkit-logical-height: inherit; -webk it-margin-after-collapse: inherit; -webkit-margin-before-collapse: inherit; -web kit-margin-bottom-collapse: inherit; -webkit-margin-top-collapse: inherit; -webk it-margin-after: inherit; -webkit-margin-before: inherit; -webkit-margin-end: in herit; -webkit-margin-start: inherit; -webkit-mask-box-image-outset: inherit; -w ebkit-mask-box-image-repeat: inherit; -webkit-mask-box-image-slice: inherit; -we bkit-mask-box-image-source: inherit; -webkit-mask-box-image-width: inherit; -web kit-mask: inherit; -webkit-mask-composite: inherit; -webkit-mask-size: inherit; -webkit-max-logical-width: inherit; -webkit-max-logical-height: inherit; -webkit -min-logical-width: inherit; -webkit-min-logical-height: inherit; order: inherit ; -webkit-padding-after: inherit; -webkit-padding-before: inherit; -webkit-paddi ng-end: inherit; -webkit-padding-start: inherit; -webkit-perspective: inherit; - webkit-perspective-origin: inherit; -webkit-perspective-origin-x: inherit; -webk it-perspective-origin-y: inherit; -webkit-print-color-adjust: inherit; -webkit-r tl-ordering: inherit; -webkit-ruby-position: inherit; -webkit-text-combine: inhe rit; -webkit-text-decorations-in-effect: inherit; -webkit-text-emphasis-color: i nherit; -webkit-text-emphasis-position: inherit; -webkit-text-emphasis-style: in herit; -webkit-text-fill-color: inherit; -webkit-text-security: inherit; -webkit -text-stroke-color: inherit; -webkit-text-stroke-width: inherit; -webkit-transfo rm: inherit; -webkit-transform-origin: inherit; -webkit-transform-style: inherit ; -webkit-user-drag: inherit; -webkit-user-modify: inherit; -webkit-user-select: inherit; shape-outside: inherit; shape-margin: inherit; shape-padding: inherit; shape-image-threshold: inherit; -webkit-wrap-flow: inherit; -webkit-wrap-throug h: inherit; max-zoom: inherit; min-zoom: inherit; orientation: inherit; user-zoo m: inherit; -webkit-tap-highlight-color: inherit; -webkit-app-region: inherit; c olor: red; background: inherit; }"
14 PASS cssRules[7].cssText is "div { all: inherit; }"
15 PASS cssRules[8].cssText is "div { all: inherit !important; }"
16 PASS cssRules[9].cssText is "div { display: inherit; -webkit-animation: inherit; -webkit-animation-play-state: inherit; animation-delay: inherit; animation-dire ction: inherit; animation-duration: inherit; animation-fill-mode: inherit; anima tion-iteration-count: inherit; animation-name: inherit; animation-play-state: in herit; animation-timing-function: inherit; -webkit-transition: inherit; transiti on: inherit; font-family: inherit; font-kerning: inherit; font-size: inherit; fo nt-style: inherit; font-variant: inherit; font-variant-ligatures: inherit; font- weight: inherit; text-rendering: inherit; -webkit-font-feature-settings: inherit ; -webkit-font-smoothing: inherit; -webkit-locale: inherit; -webkit-text-orienta tion: inherit; -webkit-writing-mode: inherit; zoom: inherit; line-height: inheri t; background-blend-mode: inherit; border: inherit; border-bottom-left-radius: i nherit; border-bottom-right-radius: inherit; border-collapse: inherit; border-im age-outset: inherit; border-image-repeat: inherit; border-image-slice: inherit; border-image-source: inherit; border-image-width: inherit; border-top-left-radiu s: inherit; border-top-right-radius: inherit; bottom: inherit; box-shadow: inher it; box-sizing: inherit; caption-side: inherit; clear: inherit; clip: inherit; - webkit-clip-path: inherit; content: inherit; counter-increment: inherit; counter -reset: inherit; cursor: inherit; empty-cells: inherit; float: inherit; font-str etch: inherit; height: inherit; image-rendering: inherit; isolation: inherit; ju stify-self: inherit; left: inherit; letter-spacing: inherit; list-style: inherit ; margin: inherit; mask-source-type: inherit; max-height: inherit; max-width: in herit; min-height: inherit; min-width: inherit; mix-blend-mode: inherit; opacity : inherit; orphans: inherit; outline: inherit; outline-offset: inherit; object-f it: inherit; object-position: inherit; overflow-wrap: inherit; overflow: inherit ; padding: inherit; page: inherit; page-break-after: inherit; page-break-before: inherit; page-break-inside: inherit; pointer-events: inherit; position: inherit ; quotes: inherit; resize: inherit; right: inherit; scroll-behavior: inherit; si ze: inherit; src: inherit; speak: inherit; table-layout: inherit; tab-size: inhe rit; text-align: inherit; text-align-last: inherit; text-decoration-line: inheri t; text-decoration-style: inherit; text-decoration-color: inherit; text-indent: inherit; text-justify: inherit; text-line-through-color: inherit; text-line-thro ugh-mode: inherit; text-line-through-style: inherit; text-line-through-width: in herit; text-overflow: inherit; text-overline-color: inherit; text-overline-mode: inherit; text-overline-style: inherit; text-overline-width: inherit; text-shado w: inherit; text-transform: inherit; text-underline-color: inherit; text-underli ne-mode: inherit; text-underline-style: inherit; text-underline-width: inherit; text-underline-position: inherit; top: inherit; touch-action: inherit; touch-act ion-delay: inherit; unicode-range: inherit; vertical-align: inherit; visibility: inherit; white-space: inherit; widows: inherit; width: inherit; will-change: in herit; word-break: inherit; word-spacing: inherit; word-wrap: inherit; z-index: inherit; -webkit-appearance: inherit; -webkit-aspect-ratio: inherit; -webkit-bac kface-visibility: inherit; -webkit-background-clip: inherit; -webkit-background- composite: inherit; -webkit-background-origin: inherit; -webkit-background-size: inherit; -webkit-border-after-color: inherit; -webkit-border-after-style: inher it; -webkit-border-after-width: inherit; -webkit-border-before-color: inherit; - webkit-border-before-style: inherit; -webkit-border-before-width: inherit; -webk it-border-end-color: inherit; -webkit-border-end-style: inherit; -webkit-border- end-width: inherit; -webkit-border-fit: inherit; border-spacing: inherit; -webki t-border-image: inherit; -webkit-border-start-color: inherit; -webkit-border-sta rt-style: inherit; -webkit-border-start-width: inherit; -webkit-box-align: inher it; -webkit-box-direction: inherit; -webkit-box-flex: inherit; -webkit-box-flex- group: inherit; -webkit-box-lines: inherit; -webkit-box-ordinal-group: inherit; -webkit-box-orient: inherit; -webkit-box-pack: inherit; -webkit-box-reflect: inh erit; -webkit-box-shadow: inherit; -internal-callback: inherit; -webkit-column-b reak-after: inherit; -webkit-column-break-before: inherit; -webkit-column-break- inside: inherit; -webkit-column-count: inherit; column-fill: inherit; -webkit-co lumn-gap: inherit; -webkit-column-rule-color: inherit; -webkit-column-rule-style : inherit; -webkit-column-rule-width: inherit; -webkit-column-span: inherit; -we bkit-column-width: inherit; -webkit-box-decoration-break: inherit; -webkit-filte r: inherit; align-content: inherit; align-items: inherit; align-self: inherit; f lex: inherit; flex-flow: inherit; justify-content: inherit; grid-auto-columns: i nherit; grid-auto-flow: inherit; grid-auto-rows: inherit; grid-column-end: inher it; grid-column-start: inherit; grid-template-columns: inherit; grid-template-ro ws: inherit; grid-row-end: inherit; grid-row-start: inherit; grid-template-areas : inherit; -webkit-highlight: inherit; -webkit-hyphenate-character: inherit; -we bkit-line-box-contain: inherit; -webkit-line-break: inherit; -webkit-line-clamp: inherit; -webkit-logical-width: inherit; -webkit-logical-height: inherit; -webk it-margin-after-collapse: inherit; -webkit-margin-before-collapse: inherit; -web kit-margin-bottom-collapse: inherit; -webkit-margin-top-collapse: inherit; -webk it-margin-after: inherit; -webkit-margin-before: inherit; -webkit-margin-end: in herit; -webkit-margin-start: inherit; -webkit-mask-box-image-outset: inherit; -w ebkit-mask-box-image-repeat: inherit; -webkit-mask-box-image-slice: inherit; -we bkit-mask-box-image-source: inherit; -webkit-mask-box-image-width: inherit; -web kit-mask: inherit; -webkit-mask-composite: inherit; -webkit-mask-size: inherit; -webkit-max-logical-width: inherit; -webkit-max-logical-height: inherit; -webkit -min-logical-width: inherit; -webkit-min-logical-height: inherit; order: inherit ; -webkit-padding-after: inherit; -webkit-padding-before: inherit; -webkit-paddi ng-end: inherit; -webkit-padding-start: inherit; -webkit-perspective: inherit; - webkit-perspective-origin: inherit; -webkit-perspective-origin-x: inherit; -webk it-perspective-origin-y: inherit; -webkit-print-color-adjust: inherit; -webkit-r tl-ordering: inherit; -webkit-ruby-position: inherit; -webkit-text-combine: inhe rit; -webkit-text-decorations-in-effect: inherit; -webkit-text-emphasis-color: i nherit; -webkit-text-emphasis-position: inherit; -webkit-text-emphasis-style: in herit; -webkit-text-fill-color: inherit; -webkit-text-security: inherit; -webkit -text-stroke-color: inherit; -webkit-text-stroke-width: inherit; -webkit-transfo rm: inherit; -webkit-transform-origin: inherit; -webkit-transform-style: inherit ; -webkit-user-drag: inherit; -webkit-user-modify: inherit; -webkit-user-select: inherit; shape-outside: inherit; shape-margin: inherit; shape-padding: inherit; shape-image-threshold: inherit; -webkit-wrap-flow: inherit; -webkit-wrap-throug h: inherit; max-zoom: inherit; min-zoom: inherit; orientation: inherit; user-zoo m: inherit; -webkit-tap-highlight-color: inherit; -webkit-app-region: inherit; c olor: red !important; background: inherit; }"
17 PASS cssRules[10].cssText is "div { }"
18 PASS successfullyParsed is true
19
20 TEST COMPLETE
21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698