| Summary: | [CSS4 Color] [CSS4 Pseudo] getSelection() color and background color should match system color highlights | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Gérard Talbot (no longer involved) <browserbugs2> | ||||
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | bfulgham, karlcow, simon.fraser, webkit-bug-importer, wenson_hsieh, zalan | ||||
| Priority: | P2 | Keywords: | BrowserCompat, HasReduction, InRadar, W3CTest | ||||
| Version: | WebKit Local Build | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| URL: | http://www.gtalbot.org/BrowserBugsSection/CSS4Color/system-color-hightlights-vs-getSelection-001.html | ||||||
| Attachments: |
|
||||||
|
Description
Gérard Talbot (no longer involved)
2023-03-29 14:30:53 PDT
Created attachment 465671 [details]
rendering in safari, firefox, chrome
Rendering with the reference and test in 3 browsers.
Karl, Your screenshot is very useful and interesting. I can see many differences; some are small but nevertheless there are differences. Firefox under Linux (I can upload a screenshot if needed, if requested) renders the test quite differently from Firefox under Mac; it's not just colors but also line spacing (white areas) and height of background painting. Chrome under Mac and Chrome under Linux will select the <br> element; Safari and Firefox under Linux and Mac do not do that. WPT test result: https://wpt.fyi/results/css/css-color/system-color-hightlights-vs-getSelection-001.html The original test has been split into 2 separate, distinct tests. Apparently, Safari 175 Technological Preview on macOS 13.5 passes both tests: https://wpt.fyi/results/css/css-color/system-color-hightlights-vs-getSelection-001.html?label=experimental&label=master&aligned https://wpt.fyi/results/css/css-color/system-color-hightlights-vs-getSelection-002.html?label=experimental&label=master&aligned Therefore Resolving as FIXED |