Bug 262696

Summary: Align UA Stylesheet by adding default properties of 'semantics' and 'maction' section in mathml.css
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: MathMLAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: fred.wang, ntim, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ahmad Saleem 2023-10-05 05:33:45 PDT
SSIA.

We already have this partially but add two more rules:

/* <mrow>-like elements */
semantics > :not(:first-child) {
  display: none;
}

maction > :not(:first-child) {
  display: none;
}
merror {
  border: 1px solid red;
  background-color: lightYellow;
}
mphantom {
  visibility: hidden;
}

___

We already have last two so it is just re-arranging and adding first two.

Thanks!
Comment 1 Ahmad Saleem 2023-10-05 05:35:17 PDT
I will do drive-by fixes and added section comments in this as well to make it easier to do few more follow-up alignments. :-)
Comment 2 Radar WebKit Bug Importer 2023-10-12 05:34:14 PDT
<rdar://problem/116858835>
Comment 3 Ahmad Saleem 2023-12-20 19:28:26 PST
C++ Implementation needs to be removed as well beside this change - https://github.com/WebKit/WebKit/pull/18758