Commit Graph

45987 Commits

Author SHA1 Message Date
Daniel Holbert
a3e3a8c1d8 Bug 1170052 part 1: Refactor nsImageBoxFrame::PaintImage() so its final failure case is an early return. r=seth 2015-06-12 11:40:36 -07:00
Xidorn Quan
7f4096ebd9 Bug 1171842 - Use jump table instead of nested if statements for peeking compute function of style struct. r=dbaron
--HG--
extra : source : c16172954389dff27f9fee7d4bacc949de662a4c
2015-06-12 14:32:46 +12:00
Ryan VanderMeulen
d452161188 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
03382cd121 Bug 1051148 - Part 1: Patch that introduces WebSpeech API implementation. r=smaug
--HG--
extra : rebase_source : 21627e11c429f5bf5f7373de804f3adfda431dbc
extra : histedit_source : a7f4210afb870d8ce7bc97d8608d0674473cc713
2015-06-09 22:49:00 -04:00
Matt Brubeck
7bd9409cc7 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
25ac1d8ffd Bug 1164783 - Change default style for input type=search to box-sizing: border-box. r=dbaron
--HG--
extra : rebase_source : 20845cd74b0855cee7a0ec1d094fc19c0f01d697
2015-06-10 14:58:55 +09:00
Karl Dubost
ef020b95ee Bug 1164783 - Removing trailing spaces. r=dbaron
--HG--
extra : rebase_source : 668688e61ba94ebe2b3aafa80f3ddf9585db53ce
2015-06-10 14:54:57 +09:00
Markus Stange
0ef27f250c Bug 1169331 - Always clip rotated buffer quadrant drawing to the fill rect. r=jrmuizel
--HG--
extra : rebase_source : d4ecb4db1209c709ea0e20683cf4e36c096c3556
extra : histedit_source : 6cb7253da86d2ef30cdee348e9583d602a533ee0
2015-06-05 13:34:54 -04:00
Simon Montagu
ea9c61217f Tests for bug 1172774, r=jfkthame 2015-06-10 23:43:26 -07:00
Simon Montagu
d4298ccd14 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
1ef48f39c5 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
4958aa7c1b Bug 1158424 - Rename FrameMetrics::mIsRoot to mIsRootContent. r=kats
--HG--
extra : rebase_source : a082680d842dd182d899f637200ce911cc3c480d
extra : source : 8b67f0b8dc96cebe9a58356708b23bebd8532134
2015-06-08 16:01:26 -04:00
Ryan VanderMeulen
505b44b386 Bug 1169243 - Re-enable the tests disabled while investigating these failures now that the underlying machine configuration issue is resolved.
--HG--
extra : histedit_source : 83507f6cbf3b482c2865356d32eb733628ccbd9b
2015-06-10 22:06:26 -04:00
Wes Kocher
4eedce1509 Merge inbound to central, a=merge 2015-06-10 18:29:39 -07:00
Kartikaya Gupta
eb7580bebc Back out 3 csets from bug 1125325 for introducing bug 1173224. r=me 2015-06-10 15:55:34 -04:00
Tim Nguyen
79c10f9f1d Bug 1170000 - Add -moz-os-version: windows-win10 to test_media_queries.html. r=jimm
--HG--
extra : rebase_source : 36a92ac426d787495f3501e978d4598895108323
2015-06-09 13:23:00 -04:00
Kan-Ru Chen
2710270ace Bug 1172889 - Rename nsFrameLoader::GetCurrentRemoteFrame to nsFrameLoader::GetCurrentRenderFrame. r=roc 2015-06-10 17:44:14 +08:00
Kan-Ru Chen
5d6fe9dd7e Bug 1172889 - Get current RenderFrameParent from TabParent directly. r=roc 2015-06-10 17:44:10 +08:00
Xidorn Quan
6e3fc0bd96 Bug 1171328 - Convert nsTableFrame::GetChildAreaOffset() and its friends to use LogicalMargin. r=dholbert
--HG--
extra : source : 5d48d96995a1b2fd4aefc463d0f2fb2d156e0406
2015-06-10 13:13:49 +12:00
Ehsan Akhgari
869988e2ed 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
989624d484 Merge mozilla-central to fx-team 2015-06-10 15:25:21 +02:00
dominique vincent
87099b21d2 Bug 1171731 - Ignore elements with 0 font size in cluster detection. r=kats 2015-06-05 16:25:16 +02:00
Carsten "Tomcat" Book
fb6be5d957 Backed out changeset f3760acfed2a (bug 1172028) for causing xperf regression
--HG--
extra : rebase_source : 81a92eaeacf909703c9944554bc8c54446a1af9e
2015-06-10 13:44:00 +02:00
Wes Kocher
41e334cea0 Merge m-c to fx-team, a=merge 2015-06-09 19:30:16 -07:00
Dave Townsend
936ce348c8 Bug 1172028: Sideloaded add-ons without full signing shouldn't ever be loaded. r=dveditz
--HG--
extra : commitid : 58eDMD7nkod
extra : rebase_source : f10644cd193e5fe0f69ca31b157eff400b320f67
2015-06-05 11:46:11 -07:00
Kathy Brade
8b3f3fad35 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
6bfe79757c 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
f412d3f7b6 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
2217c13f8b 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.

--HG--
extra : transplant_source : %1F%C0%7C%DBGDn%F7%F7%E5%92%18Cw%28%D5C%88%23%9F
2015-06-05 15:03:47 +08:00
Andrew Comminos
809921af78 Bug 1171972 - Don't expect scrollbar buttons on GTK themes. r=karlt 2015-06-05 09:34:00 -04:00
Timothy Nikkel
7eb8c4268d 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
37f044b028 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
ca75cada77 Bug 1171773 - Reftest for grid item with different direction from its container. r=mats 2015-06-06 07:15:39 +01:00
Jonathan Kew
ded32b575f 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
b54f8f42d0 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
de95224fec 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
fff00b71d3 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
b864ce9764 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
Daniel Holbert
d19a227430 Bug 1169432 part 2: Refactor nsTableFrame::Init. r=mats 2015-06-05 15:39:06 -07:00
Neil Deakin
2aa057e7ff Bug 1170166, add a capture flag to BrowserTestUtils.waitForEvent, r=paolo 2015-06-05 08:33:29 -04:00
Kyle Zentner
95a87c9836 Bug 1170173 - Parse CSS 'contain' property. r=dholbert
--HG--
extra : rebase_source : 73e15a3049f7e69fdecd7b45157df25fca949b0c
2015-06-04 16:38:00 +02:00
Ms2ger
d5fa7d0cfe Bug 1171440 - Stop using for-each loops in reftest.js; r=dbaron
--HG--
extra : commitid : 2mj8f35nTBx
2015-06-05 11:23:14 +02:00
Jonathan Kew
72f7f38b47 Bug 1079151 - patch 4 - Handle unconstrained inline-size when computing constraints for an orthogonal absolutely-positioned block. r=smontagu 2015-06-05 08:47:09 +01:00
Jonathan Kew
3ce4b1f126 Bug 1079151 - patch 3 - Remove failure annotations from the vertical abs-pos reftests. r=smontagu 2015-06-05 08:47:09 +01:00
Jonathan Kew
6dbc322879 Bug 1079151 - patch 2 - Convert nsAbsoluteContainingBlock to use logical coordinates. r=smontagu 2015-06-05 08:47:09 +01:00
Jonathan Kew
e4a31ad160 Bug 1079151 - patch 1 - Update constraint calculations in nsHTMLReflowState to work with logical coordinates. r=smontagu 2015-06-05 08:47:09 +01:00
Simon Montagu
2e16faf502 Bug 1147834: tests for overconstrained relative positioning, r=jfkthame 2015-06-04 02:07:59 -07:00
Simon Montagu
7f1b0db94c Bug 1147834: Use abstract coordinates in nsHTMLReflowState, r=jfkthame 2015-06-04 03:43:02 -07:00
Chris Peterson
992e7e882e Bug 1171368 - Fix -Wunreachable-code-break warning in layout/style/nsCSSRuleProcessor.cpp. r=dholbert 2015-06-03 23:12:24 -07:00
Phil Ringnalda
bfbcf3c2b8 Back out 60963a019905 (bug 1171371) for still crashing rc1 in testAboutPage
CLOSED TREE
2015-06-04 22:05:50 -07:00