Bug 119125
| Summary: | HTMLTitleElement should not resolve any styles when it is not in document | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ahmad.saleem792, ap, bdakin, bfulgham, dino, hyatt, karlcow, kling, koivisto, rreno, simon.fraser, vitor.roriz, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | BlinkMergeCandidate, BrowserCompat, InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ryosuke Niwa
Consider merging https://chromium.googlesource.com/chromium/blink/+/0c871f9cf7ecc2bce250083b02bf7933d77fa410
HTMLTitleElement::textWithDirection uses a style to obtain title text with direction.
To resolve a style, HTMLTitleElement should be in document.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
This seems to be not applied:
https://github.com/WebKit/WebKit/blob/a98d6ca8a12810177f98a1aba8623f9527344880/Source/WebCore/html/HTMLTitleElement.h#L41
https://github.com/WebKit/WebKit/blob/a98d6ca8a12810177f98a1aba8623f9527344880/Source/WebCore/html/HTMLTitleElement.cpp#L58
https://github.com/WebKit/WebKit/blob/a98d6ca8a12810177f98a1aba8623f9527344880/Source/WebCore/html/HTMLTitleElement.cpp#L71
No test case to test this.. :-(
Radar WebKit Bug Importer
<rdar://problem/99045778>