Bug 155433

Summary: Reset CSS spacing rules on the <math> element
Product: WebKit Reporter: Frédéric Wang (:fredw) <fred.wang>
Component: MathMLAssignee: Frédéric Wang (:fredw) <fred.wang>
Status: RESOLVED FIXED    
Severity: Normal CC: alex, commit-queue, mrobinson
Priority: P2    
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
See Also: https://bugzilla.mozilla.org/show_bug.cgi?id=1187673
Bug Depends on:    
Bug Blocks: 151592, 156839, 157989    
Attachments:
Description Flags
Testcase from Mozilla
none
Patch none

Description Frédéric Wang (:fredw) 2016-03-14 06:03:29 PDT
I'm moving this away from bug 151592. I'm suggesting to do as in Gecko and prevent spacing rules to be inherited by default:

math {
  line-height: normal;
  word-spacing: normal;
  letter-spacing: normal;
}

Gecko's bug is https://bugzilla.mozilla.org/show_bug.cgi?id=1187673
Comment 1 Frédéric Wang (:fredw) 2016-03-14 06:09:07 PDT
Created attachment 273965 [details]
Testcase from Mozilla
Comment 2 Frédéric Wang (:fredw) 2016-03-14 06:22:19 PDT
Created attachment 273966 [details]
Patch
Comment 3 Brent Fulgham 2016-04-01 11:23:27 PDT
Comment on attachment 273966 [details]
Patch

Seems reasonable. r=me.
Comment 4 WebKit Commit Bot 2016-04-01 12:15:02 PDT
Comment on attachment 273966 [details]
Patch

Clearing flags on attachment: 273966

Committed r198952: <http://trac.webkit.org/changeset/198952>
Comment 5 WebKit Commit Bot 2016-04-01 12:15:06 PDT
All reviewed patches have been landed.  Closing bug.