Summary: | [CSSRegions] Text highlight in regions is wrong | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Mihnea Ovidenie <mihnea> | ||||||||
Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||||||
Status: | RESOLVED WORKSFORME | ||||||||||
Severity: | Normal | CC: | jfernandez, rego, WebkitBugTracker | ||||||||
Priority: | P2 | Keywords: | AdobeTracked | ||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
Mihnea Ovidenie
2013-02-08 01:51:41 PST
Created attachment 187269 [details]
Wrong paint for selection in region
Created attachment 187270 [details]
Correct painted selection outside the region
Well, I had to apply the patch posted at bug 117631 but I can confirm this bug is not reproducible in the Gtk+ port. (In reply to comment #3) > Well, I had to apply the patch posted at bug 117631 but I can confirm this bug is not reproducible in the Gtk+ port. Looks like it does not repro from nightly r151344. Fixed by http://trac.webkit.org/changeset/151309, i believe it deserves a test. Created attachment 210503 [details]
Patch
(In reply to comment #6) > Created an attachment (id=210503) [details] > Patch Actually, the problem is the way the focus ring around the searched text is painted. I don't think that your test is testing that. Here is the original sample i used to reproduce the problem: <html> <head> <style> #article { -webkit-flow-into: flow; } #region { -webkit-flow-from: flow; width: 100px; height: 100px; position: absolute; top: 10px; left: 10px; } </style> </head> <body> <div id="article">Text inside article</div> <div id="region"></div> </body> </html> I am not sure how to test the focus ring though. (In reply to comment #7) > (In reply to comment #6) > > Created an attachment (id=210503) [details] [details] > > Patch > > Actually, the problem is the way the focus ring around the searched text is painted. I don't think that your test is testing that. Focus ring seems to be something particular from Mac port. > I am not sure how to test the focus ring though. Sorry but I don't know how to test it either :-( Comment on attachment 210503 [details]
Patch
Clearing flags.
|