Commit Graph

26451 Commits

Author SHA1 Message Date
Eric Rahm
595caf9606 Bug 1173858 - Part 3 - Reindent blocks that we've converted to use LAYOUT_WARN_IF_FALSE. r=dholbert 2015-06-15 16:36:12 -07:00
Eric Rahm
eef7a772b2 Bug 1173858 - Part 2: Use LAYOUT_WARN_IF_FALSE to silence some verbose layout warnings by default. r=dholbert 2015-06-15 16:36:11 -07:00
Eric Rahm
346bd7fed6 Bug 1173858 - Part 1: Add log module for layout. r=dholbert
Add a log module for use by layout. An analog to NS_WARN_IF_FALSE is provided
that has the same behavior as NS_WARN_IF_FALSE: it's debug only and emits a
message prefixed with '[pid] WARNING', includes the condition being checked,
file name and line number.
2015-06-15 16:36:09 -07:00
Markus Stange
2e98c692ce Bug 1174332 - Correctly compute box-shadow bounds on themed frames with overflow. r=roc 2015-06-15 15:02:01 -04:00
Markus Stange
f92f1597a4 Bug 1169502 - Simplify visible regions to tiles, not to a number of rects. r=jrmuizel, r=roc 2015-06-10 15:54:20 -04:00
Markus Stange
241c4ad249 Bug 1169331 - Always clip rotated buffer quadrant drawing to the fill rect. r=jrmuizel 2015-06-15 16:57:30 -04:00
Andrew McCreight
11a6356253 Bug 861449 - Incremental css::Rule destroyer. r=dbaron
Destroying large arrays of css::Rules during page teardown can take
multiple milliseconds in incremental CC. To reduce CC pauses, this
patch introduces a new class nsIncrementalClearCOMRuleArray that uses
the deferred finalizer to incrementally destroy these rule arrays.
2015-06-15 12:34:23 -07:00
Frédéric Wang
3b5e660629 Bug 1174143 - Remove private tables for Standard Symbols L and MathJax fonts. r=karlt 2015-06-12 10:43:00 -04:00
David Parks
a72dd8f316 Bug 1125325 - Store TabParents with their WindowRoot. r=smaug
nsContentUtils::CallOnAllRemoteChildren calls a callback on all tabs
connected to a given window but it has only worked in Firefox e10s tabs.
This patch adds a list of (weak) references to each top-level document's
WindowRoot so that e.g. the nsPresContext can access them instead of
using nsContentUtils.  This provides a solution to the problem of finding remote PBrowsers generally.
2015-06-07 22:39:39 -07:00
David Parks
8e0d7e75c5 Bug 1125325 - Make TabParent/TabChild UpdateDimensions messages aware of the display scale. r=kats
When connecting a lowdpi external monitor on hidpi mac, TabChild gets an
UpdateDimensions call, followed by a UIResolutionChanged call.  After
the UpdateDimensions call, the content process is in an incorrect state
where it has the dimensions of the new display and scale of the old one.
After the UIResolutionChanged message, the values are again consistent.
In the interim, reflow resizes layers based on the incorrect (old) scale
and subsequently uses those incorrect values when the new scale comes
in.  This patch normalizes the message parameters by dividing by scale
(the result is what OS X calls point coordinates) so that this doesn't happen.
2015-06-07 22:39:28 -07:00
Phil Ringnalda
018b0b40e9 Merge m-i to m-c, a=merge 2015-06-13 19:49:13 -07:00
Ryan VanderMeulen
d473169250 Merge m-c to fx-team. a=merge 2015-06-12 15:00:54 -04:00
Dave Townsend
19348b7e53 Bug 1172028: Sideloaded add-ons without full signing shouldn't ever be loaded. r=dveditz 2015-06-05 11:46:11 -07:00
Xidorn Quan
db0453beb8 Bug 1171842 - Use jump table instead of nested if statements for peeking compute function of style struct. r=dbaron 2015-06-12 14:32:46 +12:00
Ryan VanderMeulen
4671eba03e Backed out changeset 67527d8c0688 (bug 1169331) for being the most-likely cause of semi-frequent Android debug reftest failures.
CLOSED TREE
2015-06-11 15:39:27 -04:00
Kelly Davis
0056423fe6 Bug 1051148 - Part 1: Patch that introduces WebSpeech API implementation. r=smaug 2015-06-09 22:49:00 -04:00
Matt Brubeck
7c3743b680 Bug 1173415 - Fix incorrect mask used for nsBidi::mFlags [r=smontagu]
LRI and RLI are values of type DirProp (uint8_t).  The DIRPROP_FLAG macro is
needed to convert them to bits in the 32-bit `flags` variable.
2015-06-11 10:10:48 -07:00
Karl Dubost
3dceb9f85b Bug 1164783 - Change default style for input type=search to box-sizing: border-box. r=dbaron 2015-06-10 14:58:55 +09:00
Karl Dubost
b957136093 Bug 1164783 - Removing trailing spaces. r=dbaron 2015-06-10 14:54:57 +09:00
Markus Stange
dc7e714724 Bug 1169331 - Always clip rotated buffer quadrant drawing to the fill rect. r=jrmuizel 2015-06-05 13:34:54 -04:00
Simon Montagu
d3d33efdbb Tests for bug 1172774, r=jfkthame 2015-06-10 23:43:26 -07:00
Simon Montagu
047ad6e32c Bug 1172774: for a box with a writing mode orthogonal to its containing block, calculate positioning values (margin, padding and offsets) in the writing mode of the containing block, r=jfkthame 2015-06-10 23:42:56 -07:00
Daniel Holbert
f54d55598c Bug 1148294 followup: fix spec links in reftests flexbox-writing-mode-* to point to TR instead of ED spec version. (no review)
DONTBUILD because just changing metadata within some tests
2015-06-10 22:59:45 -07:00
Botond Ballo
b9201d6d43 Bug 1158424 - Rename FrameMetrics::mIsRoot to mIsRootContent. r=kats 2015-06-08 16:01:26 -04:00
Ryan VanderMeulen
8f7bd08805 Bug 1169243 - Re-enable the tests disabled while investigating these failures now that the underlying machine configuration issue is resolved. 2015-06-10 22:06:26 -04:00
Wes Kocher
a557d0fae7 Merge inbound to central, a=merge 2015-06-10 18:29:39 -07:00
Kartikaya Gupta
93f272c174 Back out 3 csets from bug 1125325 for introducing bug 1173224. r=me 2015-06-10 15:55:34 -04:00
Tim Nguyen
803b530cdc Bug 1170000 - Add -moz-os-version: windows-win10 to test_media_queries.html. r=jimm 2015-06-09 13:23:00 -04:00
Kan-Ru Chen
97797c3c30 Bug 1172889 - Rename nsFrameLoader::GetCurrentRemoteFrame to nsFrameLoader::GetCurrentRenderFrame. r=roc 2015-06-10 17:44:14 +08:00
Kan-Ru Chen
c9945af4b9 Bug 1172889 - Get current RenderFrameParent from TabParent directly. r=roc 2015-06-10 17:44:10 +08:00
Xidorn Quan
8cd0ddd326 Bug 1171328 - Convert nsTableFrame::GetChildAreaOffset() and its friends to use LogicalMargin. r=dholbert 2015-06-10 13:13:49 +12:00
Ehsan Akhgari
fe6d5a35cb Bug 1143570 - Part 2: Update the block frame's line cursor every time that nsBlockInFlowLineIterator's constructor finds a new line; r=roc 2015-06-09 15:58:56 -04:00
Carsten "Tomcat" Book
8bd8e55f0c Merge mozilla-central to fx-team 2015-06-10 15:25:21 +02:00
dominique vincent
767494436e Bug 1171731 - Ignore elements with 0 font size in cluster detection. r=kats 2015-06-05 16:25:16 +02:00
Carsten "Tomcat" Book
499e6d3eca Backed out changeset f3760acfed2a (bug 1172028) for causing xperf regression 2015-06-10 13:44:00 +02:00
Wes Kocher
de4a71ed75 Merge m-c to fx-team, a=merge 2015-06-09 19:30:16 -07:00
Dave Townsend
909bcb3a36 Bug 1172028: Sideloaded add-ons without full signing shouldn't ever be loaded. r=dveditz 2015-06-05 11:46:11 -07:00
Kathy Brade
be0ea65a02 Bug 418986 - Resist fingerprinting by preventing exposure of screen and system info. r=mrbkap, r=heycam 2015-06-07 09:02:00 -04:00
David Parks
177e150b29 Bug 1125325 - Store TabParents with their WindowRoot. r=smaug
nsContentUtils::CallOnAllRemoteChildren calls a callback on all tabs
connected to a given window but it has only worked in Firefox e10s tabs.
This patch adds a list of (weak) references to each top-level document's
WindowRoot so that e.g. the nsPresContext can access them instead of
using nsContentUtils.  This provides a solution to the problem of finding remote PBrowsers generally.
2015-06-07 22:39:39 -07:00
David Parks
67c72084cc Bug 1125325 - Make TabParent/TabChild UpdateDimensions messages aware of the display scale. r=kats
When connecting a lowdpi external monitor on hidpi mac, TabChild gets an
UpdateDimensions call, followed by a UIResolutionChanged call.  After
the UpdateDimensions call, the content process is in an incorrect state
where it has the dimensions of the new display and scale of the old one.
After the UIResolutionChanged message, the values are again consistent.
In the interim, reflow resizes layers based on the incorrect (old) scale
and subsequently uses those incorrect values when the new scale comes
in.  This patch normalizes the message parameters by dividing by scale
(the result is what OS X calls point coordinates) so that this doesn't happen.
2015-06-07 22:39:28 -07:00
Ting-Yu Lin
4d5955e2a9 Bug 1170084 - Dispatch CaretStateChangedEvent via AsyncEventDispatcher. r=mtseng
We should not dispatch an event if it is not safe to run script since
the event handlers might be implemented by Javascript.
To fix this, we always use AsyncEventDispatcher to dispatch the event.
2015-06-05 15:03:47 +08:00
Andrew Comminos
9ec46b3612 Bug 1171972 - Don't expect scrollbar buttons on GTK themes. r=karlt 2015-06-05 09:34:00 -04:00
Timothy Nikkel
6fe37353a1 Bug 1172310. Don't add viewport frame bounds to the layer event regions because they are never the result of hit testing. r=roc
For regular, display list based, hit testing viewport frames never add any items to the display list. So are never "hit". Layer event regions should follow this same path.

The code that this replaces was a partial, incorrect, fix for this problem (from bug 1121033).
2015-06-08 13:30:40 -05:00
Simon Montagu
aba0944c80 Bug 1113206: Make nsComboboxControlFrame and nsListControlFrame use logical coordinates and support vertical writing modes - patch by smontagu with additions by jfkthame. r=jfkthame,smontagu 2015-02-08 07:31:14 -08:00
Jonathan Kew
22cd407301 Bug 1171773 - Reftest for grid item with different direction from its container. r=mats 2015-06-06 07:15:39 +01:00
Jonathan Kew
ceff93100f Bug 1171773 - Handle reflowing a grid item with different writing mode from its grid container. r=mats 2015-06-06 07:15:36 +01:00
Boris Zbarsky
88ff1206cb Bug 1171970. Handle super-long lines in CSS files a bit more gracefully if they cause OOM when creating CSS error messages. r=heycam 2015-06-05 23:19:11 -04:00
Daniel Holbert
eb0d3f4973 Bug 1169432 part 5: Use range-based 'for' loops when walking frame lists, in nsTableFrame. r=mats 2015-06-05 15:39:35 -07:00
Daniel Holbert
8600e81291 Bug 1169432 part 4: Convert NS_ASSERTION(false, ...) to NS_ERROR(...) in nsTableFrame. r=mats 2015-06-05 15:39:27 -07:00
Daniel Holbert
67b3232818 Bug 1169432 part 3: Use nsTArray::Contains instead of nsTArray::IndexOf(), for brevity, in nsTableFrame. r=mats 2015-06-05 15:39:13 -07:00