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

Side by Side Diff: LayoutTests/fast/css/namespaces/empty-namespace-compound-selector-1.xhtml

Issue 1305973007: Clean up empty namespace handling and fix empty namespaces in compound selectors (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@defaultns
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | LayoutTests/fast/css/namespaces/empty-namespace-compound-selector-2.xhtml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <style>
3 @namespace url(foo);
4
5 *|Y {
6 display: block;
7 width: 100px;
8 height: 100px;
9 background-color: red;
10 }
11
12 |Y#div {
13 background-color: green;
14 }
15 </style>
16 <Y id="div" xmlns=""></Y>
alancutter (OOO until 2018) 2015/09/03 07:43:23 Tagname "div" with id "target" would be less confu
17
18 <script src="../../../resources/testharness.js"></script>
19 <script src="../../../resources/testharnessreport.js"></script>
20
21 <script>
22 test(function(){
23 assert_equals(getComputedStyle(document.getElementById('div')).backgroundCol or, 'rgb(0, 128, 0)');
24 }, "Empty namespaces should work correctly on compound selectors");
25 </script>
26
27 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/namespaces/empty-namespace-compound-selector-2.xhtml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698