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

Unified Diff: third_party/WebKit/LayoutTests/platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.txt

Issue 1877763002: METER with -webkit-appearance:none should be rendered with the normal CSS way. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drop LayoutTheme change, add TODO comments Created 4 years, 8 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: third_party/WebKit/LayoutTests/platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.txt
diff --git a/third_party/WebKit/LayoutTests/platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.txt
index e734276b5af98ae6d3cb0dd669f98715b72fc4e4..d18f98ca35b4db1ae1e0640bd68d61b09fc5d61e 100644
--- a/third_party/WebKit/LayoutTests/platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.txt
@@ -44,27 +44,21 @@ layer at (0,0) size 800x600
LayoutBlockFlow {H2} at (3.19,86.56) size 777.63x18
LayoutText {#text} at (0,0) size 153x18
text run at (0,0) width 153: "Providing meter styles"
- LayoutBlockFlow {DIV} at (0,107.75) size 784x90.56 [bgcolor=#EEEEEE]
- LayoutBlockFlow {UL} at (3.19,0) size 777.63x90.56
+ LayoutBlockFlow {DIV} at (0,107.75) size 784x112.75 [bgcolor=#EEEEEE]
+ LayoutBlockFlow {UL} at (3.19,0) size 777.63x112.75
LayoutListItem {LI} at (43.19,0) size 731.25x18
- LayoutBlockFlow {METER} at (0,1.19) size 80x16 [bgcolor=#AAAACC] [border: (5px solid #222244) (20px solid #222244) (5px solid #222244) (10px solid #222244)]
- LayoutBlockFlow {DIV} at (10,5) size 50x6
- LayoutBlockFlow {DIV} at (0,0) size 50x6
- LayoutBlockFlow {DIV} at (0,0) size 40x6
+ LayoutBlockFlow {METER} at (0,1.19) size 80x16 [border: (5px solid #222244) (20px solid #222244) (5px solid #222244) (10px solid #222244)]
+ LayoutBlockFlow {DIV} at (10,5) size 50x0
LayoutText {#text} at (80,0) size 72x18
text run at (80,0) width 72: " has border"
LayoutListItem {LI} at (43.19,21.19) size 731.25x18
- LayoutBlockFlow {METER} at (0,1.19) size 80x16 [bgcolor=#AAAACC]
- LayoutBlockFlow {DIV} at (10,5) size 50x6
- LayoutBlockFlow {DIV} at (0,0) size 50x6
- LayoutBlockFlow {DIV} at (0,0) size 40x6
+ LayoutBlockFlow {METER} at (0,1.19) size 80x16
+ LayoutBlockFlow {DIV} at (10,5) size 50x0
LayoutText {#text} at (80,0) size 81x18
text run at (80,0) width 81: " has padding"
LayoutListItem {LI} at (43.19,42.38) size 731.25x27
- LayoutBlockFlow {METER} at (10,5.19) size 80x16 [bgcolor=#AAAACC]
- LayoutBlockFlow {DIV} at (0,0) size 80x16
- LayoutBlockFlow {DIV} at (0,0) size 80x16
- LayoutBlockFlow {DIV} at (0,0) size 64x16
+ LayoutBlockFlow {METER} at (10,5.19) size 80x16
+ LayoutBlockFlow {DIV} at (0,0) size 80x0
LayoutText {#text} at (110,9) size 75x18
text run at (110,9) width 75: " has margin"
LayoutListItem {LI} at (43.19,72.56) size 731.25x18
@@ -74,14 +68,21 @@ layer at (0,0) size 800x600
LayoutBlockFlow {DIV} at (0,0) size 0x16
LayoutText {#text} at (80,0) size 108x18
text run at (80,0) width 108: " has box-shadow"
- LayoutBlockFlow {H2} at (3.19,201.50) size 777.63x18
+ LayoutListItem {LI} at (43.19,93.75) size 731.25x19
+ LayoutBlockFlow {METER} at (0,3.19) size 80x16 [color=#FFFFFF] [bgcolor=#0000FF]
+ LayoutBlockFlow {DIV} at (0,0) size 80x18
+ LayoutText {#text} at (0,0) size 16x18
+ text run at (0,0) width 16: "50"
+ LayoutText {#text} at (80,0) size 447x18
+ text run at (80,0) width 447: " Background CSS property disables -webkit-apparance automatically."
+ LayoutBlockFlow {H2} at (3.19,223.69) size 777.63x18
LayoutText {#text} at (0,0) size 227x18
text run at (0,0) width 227: "Providing bar and/or value styles"
- LayoutBlockFlow {DIV} at (0,222.69) size 784x166.31 [bgcolor=#EEEEEE]
+ LayoutBlockFlow {DIV} at (0,244.88) size 784x81.56 [bgcolor=#EEEEEE]
LayoutBlockFlow {UL} at (3.19,0) size 777.63x81.56
LayoutBlockFlow (anonymous) at (40,0) size 737.63x18
- LayoutText {#text} at (0,0) size 486x18
- text run at (0,0) width 486: "default -webkit-appearance, thus should use platform theme (only for Mac.)"
+ LayoutText {#text} at (0,0) size 473x18
+ text run at (0,0) width 473: "default -webkit-appearance, thus should use Shadow DOM CSS rendring."
LayoutListItem {LI} at (43.19,21.19) size 731.25x18
LayoutBlockFlow {METER} at (0,1.19) size 80x16
LayoutBlockFlow {DIV} at (0,0) size 80x16
@@ -103,54 +104,22 @@ layer at (0,0) size 800x600
LayoutBlockFlow {DIV} at (2,2) size 60.80x12 [bgcolor=#008000] [border: (2px solid #77CC77)]
LayoutText {#text} at (80,0) size 255x18
text run at (80,0) width 255: " has both styles but should ignore them."
- LayoutBlockFlow {UL} at (3.19,84.75) size 777.63x81.56
- LayoutBlockFlow (anonymous) at (40,0) size 737.63x18
- LayoutText {#text} at (0,0) size 470x18
- text run at (0,0) width 470: "-webkit-appearance: none, thus custom styled elements should be shown."
- LayoutListItem {LI} at (43.19,21.19) size 731.25x18
- LayoutBlockFlow {METER} at (0,1.19) size 80x16
- LayoutBlockFlow {DIV} at (0,0) size 80x16
- LayoutBlockFlow {DIV} at (0,0) size 80x16
- LayoutBlockFlow {DIV} at (0,0) size 64x16 [bgcolor=#008000] [border: (2px solid #77CC77)]
- LayoutText {#text} at (80,0) size 276x18
- text run at (80,0) width 276: " has bar style, should have solid value part."
- LayoutListItem {LI} at (43.19,42.38) size 731.25x18
- LayoutBlockFlow {METER} at (0,1.19) size 80x16
- LayoutBlockFlow {DIV} at (0,0) size 80x16
- LayoutBlockFlow {DIV} at (0,0) size 80x16 [bgcolor=#808080] [border: (2px solid #222222)]
- LayoutBlockFlow {DIV} at (2,2) size 60.80x12
- LayoutText {#text} at (80,0) size 261x18
- text run at (80,0) width 261: " has value style, should be solid bar part."
- LayoutListItem {LI} at (43.19,63.56) size 731.25x18
- LayoutBlockFlow {METER} at (0,1.19) size 80x16
- LayoutBlockFlow {DIV} at (0,0) size 80x16
- LayoutBlockFlow {DIV} at (0,0) size 80x16 [bgcolor=#808080] [border: (2px solid #222222)]
- LayoutBlockFlow {DIV} at (2,2) size 60.80x12 [bgcolor=#008000] [border: (2px solid #77CC77)]
- LayoutText {#text} at (80,0) size 240x18
- text run at (80,0) width 240: " should have solid bar and value part."
- LayoutBlockFlow {H2} at (3.19,392.19) size 777.63x18
+ LayoutBlockFlow {H2} at (3.19,329.63) size 777.63x18
LayoutText {#text} at (0,0) size 157x18
text run at (0,0) width 157: "Providing appearances"
- LayoutBlockFlow {DIV} at (0,413.38) size 784x39.19 [bgcolor=#EEEEEE]
- LayoutBlockFlow {UL} at (3.19,0) size 777.63x39.19
- LayoutListItem {LI} at (43.19,0) size 731.25x18
- LayoutBlockFlow {METER} at (0,1.19) size 80x16
- LayoutBlockFlow {DIV} at (0,0) size 80x16
- LayoutBlockFlow {DIV} at (0,0) size 80x16
- LayoutBlockFlow {DIV} at (0,0) size 64x16
- LayoutText {#text} at (80,0) size 381x18
- text run at (80,0) width 381: " has \"none\" appearance, should be styled with default style."
- LayoutListItem {LI} at (43.19,21.19) size 731.25x18
- LayoutBlockFlow {METER} at (0,1.19) size 80x16
- LayoutBlockFlow {DIV} at (0,0) size 80x16
- LayoutBlockFlow {DIV} at (0,0) size 80x16
- LayoutBlockFlow {DIV} at (0,0) size 64x16
- LayoutText {#text} at (80,0) size 280x18
- text run at (80,0) width 280: " has \"meter\" appearance, should be themed."
- LayoutBlockFlow {H2} at (3.19,455.75) size 777.63x18
+ LayoutBlockFlow {DIV} at (0,350.81) size 784x19 [bgcolor=#EEEEEE]
+ LayoutBlockFlow {UL} at (3.19,0) size 777.63x19
+ LayoutListItem {LI} at (43.19,0) size 731.25x19
+ LayoutBlockFlow {METER} at (0,3.19) size 80x16
+ LayoutBlockFlow {DIV} at (0,0) size 80x18
+ LayoutText {#text} at (0,0) size 16x18
+ text run at (0,0) width 16: "80"
+ LayoutText {#text} at (80,0) size 359x18
+ text run at (80,0) width 359: " has \"none\" appearance, should render METER content."
+ LayoutBlockFlow {H2} at (3.19,373) size 777.63x18
LayoutText {#text} at (0,0) size 162x18
text run at (0,0) width 162: "Providing bar paddings"
- LayoutBlockFlow {DIV} at (0,476.94) size 784x18 [bgcolor=#EEEEEE]
+ LayoutBlockFlow {DIV} at (0,394.19) size 784x18 [bgcolor=#EEEEEE]
LayoutBlockFlow {METER} at (0,1.19) size 80x16
LayoutBlockFlow {DIV} at (0,0) size 80x16
LayoutBlockFlow {DIV} at (0,0) size 80x16

Powered by Google App Engine
This is Rietveld 408576698