Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5445c276ffb77eb1fbb54804de6753c1da4da9ff
      
https://github.com/WebKit/WebKit/commit/5445c276ffb77eb1fbb54804de6753c1da4da9ff
  Author: Ahmad Saleem <[email protected]>
  Date:   2024-09-04 (Wed, 04 Sep 2024)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html-integration-point-expected.txt
    M Source/WebCore/css/mathml.css

  Log Message:
  -----------
  Make all elements in MathML namespace to be `display: block` and few other 
updates

https://bugs.webkit.org/show_bug.cgi?id=278163
rdar://problem/134494509

Reviewed by Frédéric Wang.

This patch partially aligns WebKit with web specification [1], although
bug 278533 (to implement 'display: math') is blocker, it enables by
making all elements under MathML namespace to have `display: block`.
As well, for`math` element with display `inline` attribute to have `display: 
inline`.

Additionally, as drive-by fix, It fixes 'indentation' issue (2 spaces) and
adds FIXME for future work.

[1] https://w3c.github.io/mathml-core/#user-agent-stylesheet

* Source/WebCore/css/mathml.css:
(*):
(math[display="inline" i]):
(ms, mspace, mtext, mi, mn, mo, mrow, mfenced, mfrac, msub, msup, msubsup, 
mmultiscripts, mprescripts, none, munder, mover, munderover, msqrt, mroot, 
merror, mphantom, mstyle, menclose, semantics, mpadded, maction): Deleted.
* 
LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing/html-integration-point-expected.txt:
 Rebaselined

Canonical link: https://commits.webkit.org/283168@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to