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/platform/win/fast/regions/region-styling

Issue 159933010: Remove everything region-specific from LayoutTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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/platform/win/fast/regions/region-styling
diff --git a/LayoutTests/platform/win/fast/regions/region-styling b/LayoutTests/platform/win/fast/regions/region-styling
deleted file mode 100644
index c0d141c8e99a7c1f13335b81abb8352bc571e17a..0000000000000000000000000000000000000000
--- a/LayoutTests/platform/win/fast/regions/region-styling
+++ /dev/null
@@ -1,57 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <style>
- body {
- font-family: monospace;
- font-size: 1em;
- }
- p {
- margin: 0;
- line-height: 1em;
- }
- .container {
- background-color: lightgray;
- width: 15em;
- height: 5em;
- }
- .light {
- background-color: lightgreen;
- }
- .lime {
- background-color: lime;
- }
- .green {
- background-color: green;
- }
- </style>
- </head>
- <body>
- <h1>Testing CSS selectors specificity/position is respected when using @region styling</h1>
-
- Selector specificity in @region rule
- <div class='container' id='r1'>
- <p class='light'>Plain paragraph</p>
- <p class='lime'>Styled with class</p>
- <p class='green'>Styled with ID</p>
- </div>
- Selector position in @region rule
- <div class='container' id='r2'>
- <p class='light'>Plain paragraph</p>
- <p class='lime'>Styled with class</p>
- <p class='green'>Styled with ID</p>
- </div>
- More specific selector in flowed content
- <div class='container' id='r3'>
- <p class='lime'>Class in content</p>
- <p class='lime'>ID in content</p>
- <p class='lime'>ID in content</p>
- </div>
- Style attribute in flowed content
- <div class='container' id='r4'>
- <p class='lime'>Element style in region</p>
- <p class='lime'>ID style in region</p>
- <p class='lime'>Class in region</p>
- </div>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698