WebKit Bugzilla
Attachment 346061 Details for
Bug 188150
: Match in group of selectors forgotten when group contains more than one negation pseudo-class selectors (:not())
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Corrected test case
corrected_testcase.html (text/html), 438 bytes, created by
Daniel
on 2018-07-30 08:56:50 PDT
(
hide
)
Description:
Corrected test case
Filename:
MIME Type:
Creator:
Daniel
Created:
2018-07-30 08:56:50 PDT
Size:
438 bytes
patch
obsolete
><!docype html> ><html> ><head> ><meta charset="utf-8"> ><style> >.container1, .container2 { >height:100px; >width:100px; >} >.container1 { >background-color:red; >} >.container2 { >background-color:blue; >} >.container1:not(.class1), >.container1:not(.class1.test1) { >padding-left:50px; ></style> ></head> ><body> ><p>There should be a blue square and no visible red.</p> ><div class="container1 class1"> ><div class="container2"> ><br /> ></div> ></div> ></html>
<!docype html> <html> <head> <meta charset="utf-8"> <style> .container1, .container2 { height:100px; width:100px; } .container1 { background-color:red; } .container2 { background-color:blue; } .container1:not(.class1), .container1:not(.class1.test1) { padding-left:50px; </style> </head> <body> <p>There should be a blue square and no visible red.</p> <div class="container1 class1"> <div class="container2"> <br /> </div> </div> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 188150
:
346037
| 346061