WebKit Bugzilla
Attachment 349799 Details for
Bug 189629
: Non-orphan list nodes are not styled correctly with selection background-color
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Test HTML file used to demonstrate the bug
test.html (text/html), 652 bytes, created by
Daniel Jalkut
on 2018-09-14 13:42:19 PDT
(
hide
)
Description:
Test HTML file used to demonstrate the bug
Filename:
MIME Type:
Creator:
Daniel Jalkut
Created:
2018-09-14 13:42:19 PDT
Size:
652 bytes
patch
obsolete
><html><head> ><style> >body { color: #d2d2d2; background-color: #2d2d2d; } > >::selection { color: white; background-color: red; } > ></style> > ><p>Background selection style behaves funny with <li> items that have children.</p> > ><p>Try dragging from here across all the lines below. Why aren't lines 3 and 5 selected and drawn with the expected red background?</p> > ><ul> > <li>Line 1</li> > <li>Line 2</li> > <li>Line 3 > <ul> > <li>Line 3a</li> > <li>Line 3b</li> > </ul> > </li> > <li>Line 4</li> > <li>Line 5 > <ul> > <li>Line 5a</li> > <li>Line 5b</li> > </ul > </li> ></ul>
<html><head> <style> body { color: #d2d2d2; background-color: #2d2d2d; } ::selection { color: white; background-color: red; } </style> <p>Background selection style behaves funny with <li> items that have children.</p> <p>Try dragging from here across all the lines below. Why aren't lines 3 and 5 selected and drawn with the expected red background?</p> <ul> <li>Line 1</li> <li>Line 2</li> <li>Line 3 <ul> <li>Line 3a</li> <li>Line 3b</li> </ul> </li> <li>Line 4</li> <li>Line 5 <ul> <li>Line 5a</li> <li>Line 5b</li> </ul </li> </ul>
View Attachment As Raw
Actions:
View
Attachments on
bug 189629
:
349798
| 349799