| Summary: | Handle empty title attribute tooltips | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | akeerthi, annevk, karlcow, mike, webkit-bug-importer |
| Priority: | P2 | Keywords: | BrowserCompat, InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Ahmad Saleem
2023-11-12 05:18:44 PST
Web-Spec: https://html.spec.whatwg.org/#the-title-attribute The advisory information of an element is the value that the following algorithm returns, with the algorithm being aborted once a value is returned. When the algorithm returns the empty string, then there is no advisory information. If the element has a title attribute, then return its value. If the element has a parent element, then return the parent element's advisory information. Return the empty string. @Aditya - do we have any 'test mechanism' for 'tooltips' like Blink / Chromium in WebKit? The attached test from PR or from source.chromium.org does not work 1-1 in WebKit and also I checked WPT, if we have any similar test (which we might be failing etc.). In local testing, this PR does fix the issue in Test Case from Comment 0. PR - https://github.com/WebKit/WebKit/pull/22403 Manage to make test. Yuppee!! Committed 272667@main (e7d1f5b567cb): <https://commits.webkit.org/272667@main> Reviewed commits have been landed. Closing PR #22403 and removing active labels. |