File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed
mathml/relations/css-styling Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html >
3+ < head >
4+ < meta charset ="utf-8 ">
5+ < title > Non MathML namespace (reference)</ title >
6+ </ head >
7+ < body >
8+ < div >
9+ < span > < span > Hello</ span > < span > World!</ span > </ span > < span > < span > Hello</ span > < span > World!</ span > </ span >
10+ </ div >
11+ </ body >
12+ </ html >
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html >
3+ < head >
4+ < meta charset ="utf-8 ">
5+ < title > Non MathML namespace</ title >
6+ < link rel ="help " href ="https://www.w3.org/TR/mathml-core/#user-agent-stylesheet ">
7+ < link rel ="match " href ="non-mathml-namespace-001-ref.html ">
8+ < meta name ="assert " content ="Verify that MathML stylesheets only apply to its namespace. ">
9+ </ head >
10+ < body >
11+ < div id ="container "> </ div >
12+ < script >
13+ [ "semantics" , "maction" ] . forEach ( ( tagName ) => {
14+ const nonMathMLNS = "http://www.w3.org/1999/xhtml" ;
15+ let el = document . createElement ( tagName , nonMathMLNS ) ;
16+ el . innerHTML = "<span>Hello</span> <span>World!</span>" ;
17+ container . appendChild ( el ) ;
18+ } ) ;
19+ </ script >
20+ </ body >
21+ </ html >
You can’t perform that action at this time.
0 commit comments