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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/css/all-shorthand-css-text-expected.txt
diff --git a/LayoutTests/fast/css/all-shorthand-css-text-expected.txt b/LayoutTests/fast/css/all-shorthand-css-text-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a3035f25edc2b43de706561af16beb515f0dc97
--- /dev/null
+++ b/LayoutTests/fast/css/all-shorthand-css-text-expected.txt
@@ -0,0 +1,21 @@
+Test for crbug.com/172051: all shorthand property.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS cssRules.length is 11
+PASS cssRules[0].cssText is "div { all: initial; }"
+PASS cssRules[1].cssText is "div { font-family: initial; font-kerning: initial; font-size: initial; font-style: initial; font-variant: initial; font-variant-ligatures: initial; font-weight: initial; text-rendering: initial; -webkit-font-feature-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; empty-cells: initial; image-rendering: initial; letter-spacing: initial; list-style: initial; orphans: initial; pointer-events: initial; quotes: initial; resize: initial; 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: initial; visibility: initial; white-space: initial; widows: initial; word-break: initial; word-spacing: initial; word-wrap: initial; -webkit-aspect-ratio: initial; border-spacing: initial; -webkit-box-direction: initial; -webkit-highlight: initial; -webkit-hyphenate-character: initial; -webkit-line-box-contain: initial; -webkit-line-break: initial; -webkit-print-color-adjust: initial; -webkit-rtl-ordering: initial; -webkit-ruby-position: initial; -webkit-text-combine: initial; -webkit-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-stroke-color: initial; -webkit-text-stroke-width: initial; -webkit-user-modify: initial; -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
+PASS cssRules[2].cssText is "div { all: initial; }"
+PASS cssRules[3].cssText is "div { all: initial !important; }"
+PASS cssRules[4].cssText is "div { font-family: initial; font-kerning: initial; font-size: initial; font-style: initial; font-variant: initial; font-variant-ligatures: initial; font-weight: initial; text-rendering: initial; -webkit-font-feature-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; empty-cells: initial; image-rendering: initial; letter-spacing: initial; list-style: initial; orphans: initial; pointer-events: initial; quotes: initial; resize: initial; 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: initial; visibility: initial; white-space: initial; widows: initial; word-break: initial; word-spacing: initial; word-wrap: initial; -webkit-aspect-ratio: initial; border-spacing: initial; -webkit-box-direction: initial; -webkit-highlight: initial; -webkit-hyphenate-character: initial; -webkit-line-box-contain: initial; -webkit-line-break: initial; -webkit-print-color-adjust: initial; -webkit-rtl-ordering: initial; -webkit-ruby-position: initial; -webkit-text-combine: initial; -webkit-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-stroke-color: initial; -webkit-text-stroke-width: initial; -webkit-user-modify: initial; -webkit-user-select: initial; -webkit-tap-highlight-color: initial; color: red !important; background: initial; }"
+PASS cssRules[5].cssText is "div { all: inherit; }"
+PASS cssRules[6].cssText is "div { display: inherit; -webkit-animation: inherit; -webkit-animation-play-state: inherit; animation-delay: inherit; animation-direction: inherit; animation-duration: inherit; animation-fill-mode: inherit; animation-iteration-count: inherit; animation-name: inherit; animation-play-state: inherit; animation-timing-function: inherit; -webkit-transition: inherit; transition: inherit; font-family: inherit; font-kerning: inherit; font-size: inherit; font-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-orientation: inherit; -webkit-writing-mode: inherit; zoom: inherit; line-height: inherit; background-blend-mode: inherit; border: inherit; border-bottom-left-radius: inherit; border-bottom-right-radius: inherit; border-collapse: inherit; border-image-outset: inherit; border-image-repeat: inherit; border-image-slice: inherit; border-image-source: inherit; border-image-width: inherit; border-top-left-radius: inherit; border-top-right-radius: inherit; bottom: inherit; box-shadow: inherit; 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-stretch: inherit; height: inherit; image-rendering: inherit; isolation: inherit; justify-self: inherit; left: inherit; letter-spacing: inherit; list-style: inherit; margin: inherit; mask-source-type: inherit; max-height: inherit; max-width: inherit; min-height: inherit; min-width: inherit; mix-blend-mode: inherit; opacity: inherit; orphans: inherit; outline: inherit; outline-offset: inherit; object-fit: 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; size: inherit; src: inherit; speak: inherit; table-layout: inherit; tab-size: inherit; text-align: inherit; text-align-last: inherit; text-decoration-line: inherit; text-decoration-style: inherit; text-decoration-color: inherit; text-indent: inherit; text-justify: inherit; text-line-through-color: inherit; text-line-through-mode: inherit; text-line-through-style: inherit; text-line-through-width: inherit; text-overflow: inherit; text-overline-color: inherit; text-overline-mode: inherit; text-overline-style: inherit; text-overline-width: inherit; text-shadow: inherit; text-transform: inherit; text-underline-color: inherit; text-underline-mode: inherit; text-underline-style: inherit; text-underline-width: inherit; text-underline-position: inherit; top: inherit; touch-action: inherit; touch-action-delay: inherit; unicode-range: inherit; vertical-align: inherit; visibility: inherit; white-space: inherit; widows: inherit; width: inherit; will-change: inherit; word-break: inherit; word-spacing: inherit; word-wrap: inherit; z-index: inherit; -webkit-appearance: inherit; -webkit-aspect-ratio: inherit; -webkit-backface-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: inherit; -webkit-border-after-width: inherit; -webkit-border-before-color: inherit; -webkit-border-before-style: inherit; -webkit-border-before-width: inherit; -webkit-border-end-color: inherit; -webkit-border-end-style: inherit; -webkit-border-end-width: inherit; -webkit-border-fit: inherit; border-spacing: inherit; -webkit-border-image: inherit; -webkit-border-start-color: inherit; -webkit-border-start-style: inherit; -webkit-border-start-width: inherit; -webkit-box-align: inherit; -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: inherit; -webkit-box-shadow: inherit; -internal-callback: inherit; -webkit-column-break-after: inherit; -webkit-column-break-before: inherit; -webkit-column-break-inside: inherit; -webkit-column-count: inherit; column-fill: inherit; -webkit-column-gap: inherit; -webkit-column-rule-color: inherit; -webkit-column-rule-style: inherit; -webkit-column-rule-width: inherit; -webkit-column-span: inherit; -webkit-column-width: inherit; -webkit-box-decoration-break: inherit; -webkit-filter: inherit; align-content: inherit; align-items: inherit; align-self: inherit; flex: inherit; flex-flow: inherit; justify-content: inherit; grid-auto-columns: inherit; grid-auto-flow: inherit; grid-auto-rows: inherit; grid-column-end: inherit; grid-column-start: inherit; grid-template-columns: inherit; grid-template-rows: inherit; grid-row-end: inherit; grid-row-start: inherit; grid-template-areas: inherit; -webkit-highlight: inherit; -webkit-hyphenate-character: inherit; -webkit-line-box-contain: inherit; -webkit-line-break: inherit; -webkit-line-clamp: inherit; -webkit-logical-width: inherit; -webkit-logical-height: inherit; -webkit-margin-after-collapse: inherit; -webkit-margin-before-collapse: inherit; -webkit-margin-bottom-collapse: inherit; -webkit-margin-top-collapse: inherit; -webkit-margin-after: inherit; -webkit-margin-before: inherit; -webkit-margin-end: inherit; -webkit-margin-start: inherit; -webkit-mask-box-image-outset: inherit; -webkit-mask-box-image-repeat: inherit; -webkit-mask-box-image-slice: inherit; -webkit-mask-box-image-source: inherit; -webkit-mask-box-image-width: inherit; -webkit-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-padding-end: inherit; -webkit-padding-start: inherit; -webkit-perspective: inherit; -webkit-perspective-origin: inherit; -webkit-perspective-origin-x: inherit; -webkit-perspective-origin-y: inherit; -webkit-print-color-adjust: inherit; -webkit-rtl-ordering: inherit; -webkit-ruby-position: inherit; -webkit-text-combine: inherit; -webkit-text-decorations-in-effect: inherit; -webkit-text-emphasis-color: inherit; -webkit-text-emphasis-position: inherit; -webkit-text-emphasis-style: inherit; -webkit-text-fill-color: inherit; -webkit-text-security: inherit; -webkit-text-stroke-color: inherit; -webkit-text-stroke-width: inherit; -webkit-transform: 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-through: inherit; max-zoom: inherit; min-zoom: inherit; orientation: inherit; user-zoom: inherit; -webkit-tap-highlight-color: inherit; -webkit-app-region: inherit; color: red; background: inherit; }"
+PASS cssRules[7].cssText is "div { all: inherit; }"
+PASS cssRules[8].cssText is "div { all: inherit !important; }"
+PASS cssRules[9].cssText is "div { display: inherit; -webkit-animation: inherit; -webkit-animation-play-state: inherit; animation-delay: inherit; animation-direction: inherit; animation-duration: inherit; animation-fill-mode: inherit; animation-iteration-count: inherit; animation-name: inherit; animation-play-state: inherit; animation-timing-function: inherit; -webkit-transition: inherit; transition: inherit; font-family: inherit; font-kerning: inherit; font-size: inherit; font-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-orientation: inherit; -webkit-writing-mode: inherit; zoom: inherit; line-height: inherit; background-blend-mode: inherit; border: inherit; border-bottom-left-radius: inherit; border-bottom-right-radius: inherit; border-collapse: inherit; border-image-outset: inherit; border-image-repeat: inherit; border-image-slice: inherit; border-image-source: inherit; border-image-width: inherit; border-top-left-radius: inherit; border-top-right-radius: inherit; bottom: inherit; box-shadow: inherit; 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-stretch: inherit; height: inherit; image-rendering: inherit; isolation: inherit; justify-self: inherit; left: inherit; letter-spacing: inherit; list-style: inherit; margin: inherit; mask-source-type: inherit; max-height: inherit; max-width: inherit; min-height: inherit; min-width: inherit; mix-blend-mode: inherit; opacity: inherit; orphans: inherit; outline: inherit; outline-offset: inherit; object-fit: 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; size: inherit; src: inherit; speak: inherit; table-layout: inherit; tab-size: inherit; text-align: inherit; text-align-last: inherit; text-decoration-line: inherit; text-decoration-style: inherit; text-decoration-color: inherit; text-indent: inherit; text-justify: inherit; text-line-through-color: inherit; text-line-through-mode: inherit; text-line-through-style: inherit; text-line-through-width: inherit; text-overflow: inherit; text-overline-color: inherit; text-overline-mode: inherit; text-overline-style: inherit; text-overline-width: inherit; text-shadow: inherit; text-transform: inherit; text-underline-color: inherit; text-underline-mode: inherit; text-underline-style: inherit; text-underline-width: inherit; text-underline-position: inherit; top: inherit; touch-action: inherit; touch-action-delay: inherit; unicode-range: inherit; vertical-align: inherit; visibility: inherit; white-space: inherit; widows: inherit; width: inherit; will-change: inherit; word-break: inherit; word-spacing: inherit; word-wrap: inherit; z-index: inherit; -webkit-appearance: inherit; -webkit-aspect-ratio: inherit; -webkit-backface-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: inherit; -webkit-border-after-width: inherit; -webkit-border-before-color: inherit; -webkit-border-before-style: inherit; -webkit-border-before-width: inherit; -webkit-border-end-color: inherit; -webkit-border-end-style: inherit; -webkit-border-end-width: inherit; -webkit-border-fit: inherit; border-spacing: inherit; -webkit-border-image: inherit; -webkit-border-start-color: inherit; -webkit-border-start-style: inherit; -webkit-border-start-width: inherit; -webkit-box-align: inherit; -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: inherit; -webkit-box-shadow: inherit; -internal-callback: inherit; -webkit-column-break-after: inherit; -webkit-column-break-before: inherit; -webkit-column-break-inside: inherit; -webkit-column-count: inherit; column-fill: inherit; -webkit-column-gap: inherit; -webkit-column-rule-color: inherit; -webkit-column-rule-style: inherit; -webkit-column-rule-width: inherit; -webkit-column-span: inherit; -webkit-column-width: inherit; -webkit-box-decoration-break: inherit; -webkit-filter: inherit; align-content: inherit; align-items: inherit; align-self: inherit; flex: inherit; flex-flow: inherit; justify-content: inherit; grid-auto-columns: inherit; grid-auto-flow: inherit; grid-auto-rows: inherit; grid-column-end: inherit; grid-column-start: inherit; grid-template-columns: inherit; grid-template-rows: inherit; grid-row-end: inherit; grid-row-start: inherit; grid-template-areas: inherit; -webkit-highlight: inherit; -webkit-hyphenate-character: inherit; -webkit-line-box-contain: inherit; -webkit-line-break: inherit; -webkit-line-clamp: inherit; -webkit-logical-width: inherit; -webkit-logical-height: inherit; -webkit-margin-after-collapse: inherit; -webkit-margin-before-collapse: inherit; -webkit-margin-bottom-collapse: inherit; -webkit-margin-top-collapse: inherit; -webkit-margin-after: inherit; -webkit-margin-before: inherit; -webkit-margin-end: inherit; -webkit-margin-start: inherit; -webkit-mask-box-image-outset: inherit; -webkit-mask-box-image-repeat: inherit; -webkit-mask-box-image-slice: inherit; -webkit-mask-box-image-source: inherit; -webkit-mask-box-image-width: inherit; -webkit-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-padding-end: inherit; -webkit-padding-start: inherit; -webkit-perspective: inherit; -webkit-perspective-origin: inherit; -webkit-perspective-origin-x: inherit; -webkit-perspective-origin-y: inherit; -webkit-print-color-adjust: inherit; -webkit-rtl-ordering: inherit; -webkit-ruby-position: inherit; -webkit-text-combine: inherit; -webkit-text-decorations-in-effect: inherit; -webkit-text-emphasis-color: inherit; -webkit-text-emphasis-position: inherit; -webkit-text-emphasis-style: inherit; -webkit-text-fill-color: inherit; -webkit-text-security: inherit; -webkit-text-stroke-color: inherit; -webkit-text-stroke-width: inherit; -webkit-transform: 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-through: inherit; max-zoom: inherit; min-zoom: inherit; orientation: inherit; user-zoom: inherit; -webkit-tap-highlight-color: inherit; -webkit-app-region: inherit; color: red !important; background: inherit; }"
+PASS cssRules[10].cssText is "div { }"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698