gecko-dev/layout
Emilio Cobos Álvarez ac54c9333b Bug 1534494 - Try to bring some more sanity into our font code. r=manishearth
It's not very easy to understand on its current state, and it causes subtle bugs
like bug 1533654.

It could be simpler if we centralized where the interactions between properties
are handled. This patch does this.

This patch also changes how MathML script sizes are tracked when scriptlevel
changes and they have relative fonts in between.

With this patch, any explicitly specified font-size is treated the same (being a
scriptlevel boundary), regardless of whether it's either an absolute size, a
relative size, or a wide keyword.

Relative lengths always resolve relative to the constrained size, which allows
us to avoid the double font-size computation, and not give up on sanity with
keyword font-sizes.

I think given no other browser supports scriptlevel it seems like the right
trade-off.

Differential Revision: https://phabricator.services.mozilla.com/D23070

--HG--
extra : moz-landing-system : lando
2019-03-18 15:37:03 +00:00
..
base Bug 1534494 - Try to bring some more sanity into our font code. r=manishearth 2019-03-18 15:37:03 +00:00
build Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-03-01 09:28:28 +02:00
doc Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
forms Bug 1534914 - Improve blocked cursor behavior to fall back to next image. r=smaug 2019-03-13 18:38:09 +00:00
generic Bug 1395964 - Don't clear the previously painted image on intrinsic size changes. r=tnikkel 2019-03-18 16:20:34 +01:00
inspector Bug 1534158 - Drop InspectorUtils.scrollElementIntoView. r=emilio 2019-03-11 19:23:29 +00:00
ipc Bug 1532725 - Rename PRemoteFrame to PBrowserBridge. r=nika 2019-03-04 20:15:58 -06:00
mathml Bug 1533963 - Use a single RestyleHint representation. r=heycam 2019-03-14 11:47:50 +00:00
media
painting Bug 1501665 Part 5: Change UpdateShouldBuildAsyncZoomContainer to check if document is zoomable. r=botond 2019-03-18 14:57:20 +00:00
printing Bug 1528914 - Tidy the relationship between the doc shell and the pres context. r=qdot 2019-02-19 22:53:40 +00:00
reftests Bug 1534494 - Try to bring some more sanity into our font code. r=manishearth 2019-03-18 15:37:03 +00:00
style Bug 1534494 - Try to bring some more sanity into our font code. r=manishearth 2019-03-18 15:37:03 +00:00
svg Bug 1504072 - non-display outer SVG also doesn't maintain overflow r=longsonr 2019-03-17 11:00:48 +00:00
tables Bug 1533963 - Use a single RestyleHint representation. r=heycam 2019-03-14 11:47:50 +00:00
tools Bug 1529863 - Remove remnants of unused browser.firstrun and browser.snippets prefs. r=geckoview-reviewers,whimboo,esawin 2019-03-06 14:59:46 +00:00
xul Bug 1518816 - Replace nsLayoutUtils::HasCurrentTransition with something that takes an element/pseudo pair; r=hiro 2019-03-18 04:09:55 +00:00
moz.build Bug 1521673 - Go through layout/tools/layout-debug even when tests are disabled. r=dmajor 2019-01-22 14:30:39 +00:00