| Summary: | Remove unused html namespace from svg.css | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | CSS | Assignee: | Ahmad Saleem <ahmad.saleem792> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, karlcow, ntim, simon.fraser, thorton, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Ahmad Saleem
2023-05-11 11:12:12 PDT
It appears `@namespace html "http://www.w3.org/1999/xhtml";` is unused in `svg.css`, so it can just be removed. Usually CSS rules refer to namespaces like this: `html|foreignobject {` for instance. `@namespace "http://www.w3.org/2000/svg";` already restricts everything to only apply to SVG. (In reply to Tim Nguyen (:ntim) from comment #1) > It appears `@namespace html "http://www.w3.org/1999/xhtml";` is unused in > `svg.css`, so it can just be removed. > > Usually CSS rules refer to namespaces like this: `html|foreignobject {` for > instance. > > `@namespace "http://www.w3.org/2000/svg";` already restricts everything to > only apply to SVG. Should I remove it via PR? Committed 264032@main (c64ff2859e1c): <https://commits.webkit.org/264032@main> Reviewed commits have been landed. Closing PR #13818 and removing active labels. |