Commit Graph

24557 Commits

Author SHA1 Message Date
Robert O'Callahan
68c074dcb8 Bug 1099977. Part 2: Make gfxFont::Measure return an empty bounding-box when all glyphs are invisible. r=jfkthame
--HG--
extra : rebase_source : 41a9f586ef2992d96b789d6bd55daae18f15ed2f
2014-11-18 23:23:45 +13:00
Jonathan Kew
e670e1dd2d Bug 1119770 - Remove the compile-time switch to enable/disable vertical writing mode support. r=smontagu 2015-01-12 20:55:52 +00:00
Ryan VanderMeulen
cf749cfe47 Bug 1119818 - Bump various UUIDs that were missed when IDL changes landed. r=jib, r=jdm, r=gavin, r=bz, a=me 2015-01-12 10:44:18 -05:00
Christoph Kerschbaumer
e7043cc6be Bug 1110469 - Remove NS_OpenURI (r=sworkman) 2015-01-11 20:26:40 -08:00
Nigel Babu
98abca37da Backed out 4 changesets (bug 1055658) for M5 bustage on a CLOSED TREE
Backed out changeset 3cbd9323c896 (bug 1055658)
Backed out changeset 99e071295c42 (bug 1055658)
Backed out changeset 55119d19e4c5 (bug 1055658)
Backed out changeset e82f640cb53f (bug 1055658)
2015-01-12 10:43:11 +05:30
Xidorn Quan
6940abf9e0 Bug 1055658 part 4 - Revert RubyReflowState. r=dbaron
--HG--
extra : source : 27e60ddbd077439dadd09641ab54fc7eef09c69f
2015-01-12 14:31:55 +11:00
Xidorn Quan
f2653be159 Bug 1055658 part 3 - Add reftests for ruby annotation relative positioning. r=dbaron
--HG--
extra : source : 6cc51f0bfbb68999a5361339a09a455ac7723bc6
2015-01-12 14:31:55 +11:00
Xidorn Quan
35fba6afe9 Bug 1055658 part 2 - Add relative positioning support for ruby annotations. r=dbaron
--HG--
extra : source : 3b6cece1b466a724983927329c56dc1d9555b09a
2015-01-12 14:31:55 +11:00
Xidorn Quan
b4c630a9e1 Bug 1055658 part 1 - Move code for applying relative position to an independent method. r=dbaron
--HG--
extra : source : aa1e52e91dd5ae6fdcdc6ca17bd9ec2a0b946f2b
2015-01-12 14:31:55 +11:00
Xidorn Quan
296915850b Bug 1111463 part 3 - Fix ruby reftests for default styles. r=dbaron
--HG--
extra : source : 2a8645f9d275da445738b3aad99630fa6c0a3586
2015-01-12 12:52:19 +11:00
Xidorn Quan
d7e67a75cc Bug 1111463 part 2 - Add styles in html.css and ua.css. r=dbaron
--HG--
extra : source : 36266a6c05c5d40c0ebdd97a3935041a8d8f1010
2015-01-12 12:52:19 +11:00
Xidorn Quan
6d961136a3 Bug 1111463 part 1 - Invalidate html.css when ruby pref changes. r=dbaron
--HG--
extra : source : c33e79d1dc93b9827fff3fa4f0ac66db2e403423
2015-01-12 12:52:19 +11:00
Kartikaya Gupta
fc2b61ecdb Bug 1120252 - Avoid trying to get the APZCTreeManager if APZ isn't enabled. r=mattwoodrow 2015-01-11 20:39:36 -05:00
Robert O'Callahan
a71a6aff8c Bug 1119117. Don't clip nsDisplayOpacity items, since some of its descendants maybe should not be clipped with the nsDisplayOpacity clip. r=mattwoodrow
--HG--
extra : rebase_source : 50ab1923ad5150197128a0862db2af96dfd41658
2015-01-11 00:12:33 +13:00
L. David Baron
1bd44b0a8b Revert one of the assertion additions in Bug 1110277 patch 3 since it fires, causing orange. r=orange
Example stack, from editor/libeditor/tests/browserscope/test_richtext2.html :

###!!! ASSERTION: should only call on first continuation/ib-sibling: 'nsLayoutUtils::IsFirstContinuationOrIBSplitSibling(this)', file /builds/slave/m-in-l64-d-0000000000000000000/build/src/layout/base/../generic/nsIFrame.h, line 875
#01: AdjustAppendParentForAfterContent [layout/base/nsCSSFrameConstructor.cpp:6059]
#02: nsCSSFrameConstructor::ContentAppended(nsIContent*, nsIContent*, bool) [layout/base/nsCSSFrameConstructor.cpp:7155]
#03: PresShell::ContentAppended(nsIDocument*, nsIContent*, nsIContent*, int) [layout/base/nsPresShell.cpp:4520]
#04: nsNodeUtils::ContentAppended(nsIContent*, nsIContent*, int) [dom/base/nsNodeUtils.cpp:132]
#05: nsINode::doInsertChildAt(nsIContent*, unsigned int, bool, nsAttrAndChildArray&) [dom/base/nsINode.cpp:1544]
#06: nsINode::ReplaceOrInsertBefore(bool, nsINode*, nsINode*, mozilla::ErrorResult&) [dom/base/nsINode.cpp:2209]
#07: mozilla::dom::NodeBinding::appendChild [obj-firefox/dom/bindings/NodeBinding.cpp:600]
2015-01-11 16:58:42 -08:00
L. David Baron
8693102462 Bug 1110277 patch 3 - Look for the GenConPseudos() property on the first continuation/ib-split so that we can find it when looking for the ::after frame. r=bzbarsky
The change to GetAfterFrameForContent prevents the reframe that is part
of the chain of events leading to this bug, and thus fixes the bug on
its own.  The change to GetBeforeFrameForContent seems desirable for
symmetry.

Note that patch 6 also independently fixes the reported bug.

This probably needs somewhat careful review.  We should examine:

 (1) what the rules for calling nsLayoutUtils::GetBeforeFrame and
     nsLayoutUtils::GetAfterFrame are, and whether both (or neither)
     need to be patched.

 (2) What the rules are for which frame the GenConProperty() lives on,
     and whether we should adjust nsIFrame::GetGenConPseudos() to either
     do something more intelligent, or assert about callers.

(We should probably clean up some of these things in a followup bug.)

Since the symptom of this bug is (once patch 4 is in the tree) only
causing extra reframes, it can only be tested using the new API (from
bug 1115691) for observing reframes.  I confirmed that the test for this
bug fails without the patch and passes with the patch (as noted by the
removal of its todo annotation).

This patch fixes the assertion on layout/generic/crashtests/600100.xhtml,
though I haven't investigated why.
2015-01-11 15:43:11 -08:00
L. David Baron
877c418cca Bug 1110277 patch 2 - Add nsLayoutUtils::LastContinuationOrIBSplitSibling(). r=bzbarsky
This is used in patch 3.
2015-01-11 15:43:10 -08:00
L. David Baron
9c0ffc3692 Bug 1110277 patch 1 - Consider the ib-split chain when checking for ::before and ::after in order to reframe when they're missing. r=bzbarsky
This patch is not needed to fix the bug, but it seems like it's probably
desirable.  It's not needed for this bug because
MaybeReframeForBeforePseudo and MaybeReframeForAfterPseudo are already
called (by ElementRestyler::RestyleChildren) on only the first and last
continuation or ib-split sibling with the same style.  So this patch
should only actually change anything for cases like a block-in-inline
split whose initial inline part is inside of a ::first-line (where
different parts of the block-in-inline split chain have different style).

Since the symptom of this bug is (once patch 6 is in the tree) only
causing extra reframes, it can only be tested using the new API (from
bug 1115691) for observing reframes.  I confirmed that the test for this
bug fails without the patch and passes with the patch (as noted by the
removal of its todo annotation).
2015-01-11 15:43:10 -08:00
L. David Baron
ac3bd5e648 Bug 1110277 patch 0 - Add mochitest for patch 1 and patch 3. r=heycam
Patch 1 and patch 3 will change the todo status of the first and second
tests, respectively, since they are what fix the tests.
2015-01-11 15:43:10 -08:00
L. David Baron
f1a791b803 Bug 1115691 patch 1 - Store counts of frames constructed and reflowed on the pres context. r=roc
(I've tested the frame construction counts in my test for bug 1110277; I
haven't actually tested the reflow counts.)
2015-01-11 15:43:10 -08:00
Tom Schuster
08ff12ed52 Backout changeset b4ebefd0f7e3:a8044fd506db Bug 1117607, Bug 1118087, Bug 1118092, Bug 1118105, Bug 1030372, Bug 1079627 on CLOSED TREE 2015-01-11 20:43:32 +01:00
Seth Fowler
da7153af11 Bug 1079627 (Part 3) - Support multiple decoders for a single RasterImage. r=tn 2015-01-11 05:34:20 -08:00
Masatoshi Kimura
f70d08c5aa Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Robert Longson
edacb3f690 Bug 1117514 - lines with zero length dashes are not rendered. r=jwatt 2015-01-10 22:17:57 +00:00
Ms2ger
a161fccb98 Backed out changeset f5a5f7463224 (bug 1119117) 2015-01-10 20:23:06 +01:00
Robert O'Callahan
f6db416dfe Bug 1119117. Don't clip nsDisplayOpacity items, since some of its descendants maybe should not be clipped with the nsDisplayOpacity clip. r=mattwoodrow
--HG--
extra : rebase_source : d8fbb70e8745a185142430dc341a5fa0146f5532
2015-01-11 00:12:33 +13:00
Geoff Lankow
b26884fe2a Bug 1114297 - Improve performance of nsTreeBodyFrame::AdjustForCellText for very long strings; r=smontagu 2015-01-11 00:07:58 +13:00
Wes Kocher
7ed4db3736 Merge m-c to inbound a=merge 2015-01-09 21:00:13 -08:00
Chris Peterson
0b8b25193e Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo 2015-01-06 21:39:46 -08:00
Neil Deakin
e4fc31f0ac Bug 1089005, add a third consume option that never consumes even over the anchor. This allows clicks on the location field to adjust the caret position, r=dao 2015-01-09 21:12:10 -05:00
William Chen
6a1073c564 Bug 1118764 - Don't distribute anonymous root content in shadow DOM. r=bz 2015-01-08 13:49:51 -08:00
Gregor Wagner
f59502cc09 Bug 1103106 - Make assertion failure: !mWillChangeBudgetCalculated non fatal. r=benwa 2015-01-09 13:29:43 -08:00
Ryan VanderMeulen
85d5bf698c Merge inbound to m-c. a=merge 2015-01-09 14:45:50 -05:00
Carsten "Tomcat" Book
eabda1c7ba Merge mozilla-central to b2g-inbound 2015-01-09 15:54:18 +01:00
Fernando Jimenez Moreno
e7366b0d51 Bug 1101029 - Overlay iframe on top of front-most app. r=roc, sicking 2015-01-09 09:55:18 +01:00
Kartikaya Gupta
10e8171d82 Bug 1117828 - When building event regions for a pseudo-stacking context, use the child frame instead of the parent. r=roc 2015-01-09 10:12:35 -05:00
Makoto Kato
2e0919196e Bug 966157 - Part 3. Ignore assertion of test_bug558663.html for Linux e10s. r=masayuki 2015-01-09 16:40:25 +09:00
Boris Zbarsky
50e2ffad55 Bug 1103000. Update the unitless length quick whitelist to match spec changes. r=dbaron 2015-01-08 11:57:09 -05:00
Carsten "Tomcat" Book
552d0d9806 Backed out changeset 68d2b24c9351 (bug 1055658) for Reftest Failures 2015-01-08 16:08:58 +01:00
Carsten "Tomcat" Book
995dc0fac1 Backed out changeset f4e02295ff1f (bug 1055658) 2015-01-08 16:08:37 +01:00
Carsten "Tomcat" Book
76d20354e3 Backed out changeset 9371c6f11873 (bug 1055658) 2015-01-08 16:08:35 +01:00
Carsten "Tomcat" Book
a63d49e9f0 Backed out changeset 2ee5068037f2 (bug 1055658) 2015-01-08 16:08:33 +01:00
Kartikaya Gupta
01e045fa21 Bug 1109873 - Implement the expanded HitTestingTree. r=botond 2015-01-08 09:40:01 -05:00
pchang
dc0b00c38c Bug 1111433 - Dispatch the SelectionStateChanged event for blur. r=ehsan 2015-01-07 01:01:00 -05:00
Ehsan Akhgari
b6e35bb4b4 Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Jonathan Kew
ed60bfff90 Bug 1062108 - Adjust existing tests that are affected by the fix to synthetic-bold glyph advance. r=jdaggett 2015-01-08 12:52:10 +00:00
Jonathan Kew
c425c18d0e Bug 1062108 - Test that <space> and <x> have the same width in bold monospace font. r=jdaggett 2015-01-08 12:52:03 +00:00
Xidorn Quan
ba51fd634a Bug 1055658 part 4 - Revert RubyReflowState. r=dbaron
--HG--
extra : source : 4ee892ec7dde8957aa733401bfd7746a97ebcf7e
2015-01-08 23:20:16 +11:00
Xidorn Quan
9151eeca09 Bug 1055658 part 3 - Add reftests for ruby annotation relative positioning. r=dbaron
--HG--
extra : source : c352bc5450a3a939dc79ff55bd94e2cc78614ea0
2015-01-08 23:20:16 +11:00
Xidorn Quan
68abf2aee4 Bug 1055658 part 2 - Add relative positioning support for ruby annotations. r=dbaron
--HG--
extra : source : 19d8bb736510b1f162aba3df5d2a6b851ea705de
2015-01-08 23:20:16 +11:00
Xidorn Quan
90c35eb47c Bug 1055658 part 1 - Move code for applying relative position to an independent method. r=dbaron
--HG--
extra : source : 30aa25e2233135e3c4792f406af6d2cdc055758c
2015-01-08 23:20:16 +11:00
Simon Montagu
fb79ba7c59 Bug 1063471: finish off converting nsBlockReflowContext to logical coordinates (comment-only change), r=jfkthame 2015-01-08 02:10:24 -08:00
Michael Pruett
b9d2bd339e Bug 1118024 - Use new PL_DHashTable{Add,Lookup,Remove} functions. r=nfroyd 2015-01-05 20:27:28 -06:00
Xidorn Quan
2f2823d35f Bug 1099807 part 5 - Reftests for ruby intra-level whitespaces. r=dholbert
--HG--
extra : source : 0bbef725cf7f1abee96b98c7fe507f35115ecea9
2015-01-08 18:28:09 +11:00
Xidorn Quan
57996fc4ea Bug 1099807 part 4 - Fix line breaking around ruby intra-level whitespaces. r=dholbert
--HG--
extra : source : f6ebe9d9c7c863b18497e3c326f4486c5837a163
2015-01-08 18:28:09 +11:00
Xidorn Quan
4f48eecc94 Bug 1099807 part 3 - Use specific frame type in RubyColumn. r=dholbert
--HG--
extra : source : 0d78d1c0d10d9b5e32c0843a258d29e12f1369c4
2015-01-08 18:28:09 +11:00
Xidorn Quan
6314c00688 Bug 1099807 part 2 - Implement intra-level whitespace pairing. r=dholbert
Line breaking is not handled properly in this patch.
It would be fixed in the part 4.

--HG--
extra : source : 49c457bbcd3a55f7ee65b007d50dd2884c7158af
2015-01-08 18:28:09 +11:00
Xidorn Quan
11c1ac01de Bug 1099807 part 1 - Add common superclass for ruby base and ruby text. r=dholbert
--HG--
extra : source : 9dd5b0a847a1d698589c14e9dde5ced195eed646
2015-01-08 18:28:09 +11:00
Xidorn Quan
69be1e0363 Bug 1069519 part 3 - Add reftests for ruby line height calculation. r=dholbert
--HG--
extra : source : 728da9f1603aea283356de9f69f678667514cc70
2015-01-08 16:02:41 +11:00
Xidorn Quan
23c276c586 Bug 1069519 part 2 - Make line height calculation be aware of ruby annotations. r=dholbert
--HG--
extra : source : e8c8f94afde330276b5d907520d93da10e8f998c
2015-01-08 16:02:41 +11:00
Xidorn Quan
2f733e0b8b Bug 1069519 part 1 - Use common.css in previous ruby reftests. r=dholbert
--HG--
extra : source : 044fe5c95847a6324cdc66e0b2f5855c38d05f0e
2015-01-08 16:02:41 +11:00
Neil Deakin
4e63aa936f Bug 1102039, Ensure that the popup's widget visibility is updated after rollup, allows popups to disappear at the start of the minimize animation rather than after, r=tn 2015-01-07 20:52:20 -05:00
Ethan Lin
efd4b89d34 Bug 1116070 - Use neon to speed up the mask creation. r=longsonr 2015-01-06 02:44:00 -05:00
Botond Ballo
2e46796a0f Bug 1076241 - Add an API for setting a resolution on a document and scaling it by that amount. r=kats,tn 2015-01-02 20:06:14 -05:00
Ehsan Akhgari
6446250173 Bug 1118427 - Mark virtual overridden functions as MOZ_OVERRIDE in layout; r=roc 2015-01-07 10:07:36 -05:00
Morris Tseng
306e6a2bf2 Bug 1117643 - Always send blur event to selection carets but cancel long tap detector when leaving document. r=roc 2015-01-05 01:15:00 +01:00
pchang
a222d544ee Bug 1098161 - Notify shortcut mode to system app when long tap on content with empty text. r=roc 2014-12-19 14:04:45 +08:00
Simon Montagu
89be8cd2e4 Tests for bug 1102175, r=jfkthame 2015-01-06 23:50:05 -08:00
Simon Montagu
5d83d7a615 Bug 1079154 patch 7: remove obsoleted nsPoint::GetPhysicalPosition, r=jfkthame 2015-01-06 23:10:43 -08:00
Simon Montagu
f1b1867729 Bug 1079154 patch 6: convert ApplyRelativePosition, ReflowChild and FinishReflowChild in nsFlexContainerFrame to the logical versions, r=dholbert 2015-01-06 23:10:07 -08:00
Simon Montagu
cdac194ec6 Bug 1079154 patch 5: convert callers of ApplyRelativePosition, ReflowChild and FinishReflowChild in layout/generic to the logical versions, r=jfkthame 2015-01-06 23:10:07 -08:00
Simon Montagu
941f71e622 Bug 1079154 patch 4: Logical versions of ReflowChild and FinishReflowChild, r=jfkthame 2015-01-06 23:10:07 -08:00
Simon Montagu
16d0d92ccc Bug 1079154 patch 3: logical versions of ApplyRelativePositioning, r=jfkthame 2015-01-06 23:10:07 -08:00
Simon Montagu
02b85bac8f Bug 1079154 patch 2: add SetPosition with a LogicalPoint to nsIFrame, r=jfkthame 2015-01-06 23:10:07 -08:00
Simon Montagu
647520926b Bug 1079154 patch 1: add a != operator to LogicalPoint and sprinkle some const dust in WritingModes.h, r=jfkthame 2015-01-06 23:10:07 -08:00
Jonathan Kew
4bb521efa4 Bug 1079154 - Reftest for column child-frame positioning in vertical-rl mode, r=smontagu 2014-12-19 13:46:42 +00:00
Xidorn Quan
a8aad3d819 No bug, add a little more fuzz. 2015-01-07 17:20:11 +11:00
Ehsan Akhgari
9fa4436b98 Bug 1118426 - Mark virtual overridden functions as MOZ_OVERRIDE in layout/style; r=dbaron 2015-01-06 23:33:51 -05:00
Xidorn Quan
c1e4ed76d9 Bug 1116688 - Always try to push children after reflowing an incomplete ruby segment. r=dbaron
--HG--
extra : rebase_source : eddbedeaf484513da0789ec73d82801d55234d69
extra : source : afabc75550c1c5b3e8ce4b375cd0b5bb6a30fb21
2015-01-07 12:47:09 +11:00
Xidorn Quan
172cb2654c Bug 1117597 - Sync bounds of ruby annotation containers. r=roc
--HG--
extra : rebase_source : 336b023e6d44031a3a2adfde42a510b6729d83a3
extra : source : a2e4eb7e9c71f299685e8e4c9175bfb31a27a70b
2015-01-07 12:47:09 +11:00
Xidorn Quan
676a72ac80 Bug 1116635 - Fix interaction between ruby alignment and trimmed whitespace. r=roc
--HG--
extra : rebase_source : 02452c197129f05cee9ebf1a868c166c3b5c7880
extra : source : 0d467e9425a4a48d358e65227d6f5f0812e8dd0c
2015-01-07 12:47:09 +11:00
Xidorn Quan
8eeb38494e Bug 1116631 - Fix isize reservation of ruby base container. r=roc
--HG--
extra : rebase_source : efc67e14e7e6bbc2b6ba736b09780a9e507b122e
extra : source : 86371e41d07bab00c6cd04b236d194fa312b99c4
2015-01-07 12:47:09 +11:00
Daniel Holbert
8c8b7c59a7 Bug 1110950 part 0: Annotate b2g test-failures that are probably caused by this bug as "random-if(B2G)" for the time being. (no review, test-manifest-only) 2015-01-06 13:16:55 -08:00
Jonathan Kew
e137529bf4 Bug 1113684 - part 2 - Update test from bug 1105268 to account for position of broken-image icon now being sensitive to vertical-rl mode. r=smontagu 2015-01-06 20:56:03 +00:00
Jonathan Kew
7c90333f67 Bug 1113684 - part 1 - Handle vertical writing modes when displaying alt-text alongside a broken-image icon. r=smontagu 2015-01-06 20:56:03 +00:00
Jonathan Kew
cb01b47afe Bug 1111944 - Reftest for list item markers with vertical text. r=smontagu 2015-01-06 20:56:03 +00:00
Jonathan Kew
9462febf5a Bug 1111944 - part 2 - Update nsBulletFrame::PaintBullet to handle vertical text in list item markers. r=smontagu 2015-01-06 20:56:03 +00:00
Jonathan Kew
0e4fbcf5fd Bug 1111944 - part 1 - Make nsLayoutUtils::DrawString (and the nsFontMetrics methods it calls) handle vertical text. r=smontagu 2015-01-06 20:56:03 +00:00
Jonathan Kew
5fb4c0e20c Bug 1115916 - Reftest for synthetic vertical metrics. r=smontagu 2015-01-06 20:56:02 +00:00
JerryShih
1c75ae0748 Bug 1118336. Extract timer rate function from RefreshDriverTimer into SimpleTimerBasedRefreshTimer. r=roc 2015-01-06 09:28:18 -08:00
Frédéric Wang
443e33d6e5 Bug 619521 - Part 3: Send a notification for missing math fonts. r=jkitch 2014-11-11 02:37:00 -05:00
Jonathan Kew
65c4ca0e3f Bug 619521 - Part 1: Send a notification of any scripts for which font coverage is lacking. r=jdaggett 2014-12-22 16:35:54 +00:00
Ryan VanderMeulen
967224de70 Backed out changesets 4d2d510fbd62, 5e51dc838a89, and 652bd77f36c1 (bug 1116714) for Linux opt mochitest-dt orange.
CLOSED TREE
2015-01-06 08:57:43 -05:00
Mats Palmgren
7a34564ab7 Bug 1117596 - Simplify the code in nsBlockFrame::AddFrames somewhat to avoid a false positive warning ('Uninitialized variable: overflowLines'). r=roc 2015-01-06 11:46:26 +00:00
Mats Palmgren
915acbe779 Bug 1116753 - Add 'explicit' to the nsRootBoxFrame one-arg ctor to fix static analysis failure. r=me 2015-01-06 10:07:04 +00:00
Mats Palmgren
06b9d85519 Bug 1116753 - Remove the nsIPresShell* param from remaining frame ctors that still have it. r=roc 2015-01-06 09:27:56 +00:00
Mats Palmgren
8b28082cae Bug 1116714 part 3 - Use GetParentOrPlaceholderFor (not GetParent) so that reframing anonymous content frames works also for fixed pos frames. r=roc 2015-01-06 09:27:56 +00:00
Mats Palmgren
d76290891a Bug 1116714 part 2 - Don't create a frame for the custom content container when it has no children. r=roc 2015-01-06 09:27:56 +00:00
Mats Palmgren
42d993decb Bug 1116718 part 2 - Don't bother setting up a reflow state for positioned children if there are none. r=roc 2015-01-06 09:27:56 +00:00
Mats Palmgren
662a18f196 Bug 1116718 part 1 - Don't bother calculating overflow areas when they will be discarded anyway. r=roc 2015-01-06 09:27:56 +00:00
Brian Birtles
197cde67e9 Bug 1112480 part 6 - Make PendingPlayerTracker call StartOnNextTick; r=jwatt
This patch switches on the new, "actually start the player in the next refresh
driver tick" behavior. It updates PendingPlayerTracker, adding
a StartPendingPlayersOnNextTick method which calls the appropriate method on
AnimationPlayer. The existing StartPendingPlayers is renamed to
StartPendingPlayersNow and is used for testing only.

Furthermore, since we now expect AnimationPlayer::StartOnNextTick to be
functional, AnimationPlayer::DoPlay is updated to use it when there is no
document available. This should make playing an animation player always
asynchronous, that is, always transition to the pending state temporarily
(unless we are already playing).
2015-01-09 07:57:58 +09:00
Brian Birtles
d6583c1dfb Bug 1112480 part 1 - Adjust tests to accommodate changed animation start behavior; r=jwatt
In this patch series we adjust the behavior of animation starting so that the
animation does not actually start until the following refresh driver tick. This
requires some tweaks to tests to ensure they continue to pass.
2015-01-09 07:57:58 +09:00
Benoit Girard
2e6be15119 Bug 1112332 - Disable all paint heuristics for layers not actively scrolled by APZ. r=kats
--HG--
extra : rebase_source : 785e13857a3bdb3107cb0836a37bcffbea7f02ec
2015-01-02 11:17:59 -05:00
Brian Birtles
720fca4e3f Bug 1113413 - Make refresh driver go back immediately when restored from test control; r=vlad 2015-01-06 10:56:02 +09:00
Brian Birtles
186ce2e7c6 Bug 927349 part 30 - Cancel transitions when we have a change to a non-animatable style; r=heycam 2015-01-06 10:55:59 +09:00
Wes Kocher
8965770efa Merge m-c to inbound a=merge 2015-01-05 17:19:38 -08:00
Wes Kocher
b22f691e1d Merge fx-team to m-c a=merge 2015-01-05 17:08:49 -08:00
Ethan Lin
34b2837e8e Bug 1103258 - Add reftest for assertion crash. r=jmuizelaar 2015-01-05 23:45:20 +08:00
Mats Palmgren
2a57f2a27c Bug 1117538 part 2 - [css-grid] Accept 'grid-auto-flow: dense' which now implies 'row dense'. r=simon.sapin 2015-01-05 22:20:56 +00:00
Mats Palmgren
3b2578fdb3 Bug 1117538 part 1 - [css-grid] Remove 'grid-auto-flow: stack'. r=dholbert
Because it has been removed from the spec per:
http://lists.w3.org/Archives/Public/www-style/2014Dec/0321.html
2015-01-05 22:20:56 +00:00
Tom Tromey
626168339b Bug 1113706 - move TimelineMarker to a new header; r=smaug 2015-01-05 09:39:16 -08:00
Phil Ringnalda
d24a57bdfd Backed out 4 changesets (bug 1116821, bug 1110928) for Windows OOMs
CLOSED TREE

Backed out changeset 9d593597df5f (bug 1110928)
Backed out changeset d68c75986335 (bug 1110928)
Backed out changeset 21d807074550 (bug 1110928)
Backed out changeset ca77252e50dd (bug 1116821)
2015-01-04 21:12:19 -08:00
Christoph Kerschbaumer
88c83107b4 Bug 1116624 - Move CORS into dom/security (r=sicking)
--HG--
rename : dom/base/nsCrossSiteListenerProxy.cpp => dom/security/nsCORSListenerProxy.cpp
rename : dom/base/nsCrossSiteListenerProxy.h => dom/security/nsCORSListenerProxy.h
2014-12-30 15:54:59 -08:00
Andrew McCreight
23afe7c9b0 Bug 1110928, part 3 - Try to pass a relevant zone to PokeGC. r=smaug
This means the browser will do less full GCs.
2015-01-04 17:46:50 -08:00
Andrew McCreight
d541b6c427 Bug 1110928, part 2 - Call PokeGC in nsDocumentViewer::PageHide before the call to OnPageHide. r=smaug
This ensures that the document isn't destroyed when we call PokeGC, which will be useful later.
2015-01-04 17:46:50 -08:00
Andrew McCreight
a8c632a6f8 Bug 1110928, part 1 - Hoist the LOAD_END PokeGC out of nsJSContext::LoadEnd. r=smaug
nsDocumentViewer knows which document is involved which will help us later.

Also, fix a typo in the comment.
2015-01-04 17:46:50 -08:00
Bas Schouten
87bc3fd5d5 Bug 1084450: Disable subpixelAA text when requested for header/footer drawing code. r=mattwoodrow 2015-01-05 01:18:11 +01:00
Phil Ringnalda
83787edc3c Backed out 7 changesets (bug 1018320)
Backed out changeset 2ef1c26d77d3 (bug 1018320)
Backed out changeset bce9ed290ddd (bug 1018320)
Backed out changeset 8c01c134e40f (bug 1018320)
Backed out changeset 46353577ef7a (bug 1018320)
Backed out changeset edf5737d6e0e (bug 1018320)
Backed out changeset c6fcdd1c681f (bug 1018320)
Backed out changeset 5e26604cc6e0 (bug 1018320)
2015-01-04 08:40:27 -08:00
Andrea Marchesini
786ed5edbb Bug 1018320 - RequestSync API - patch 2 - Wifi Only, r=ehsan 2015-01-04 10:36:53 +01:00
Phil Ringnalda
577013867e Merge m-i to m-c, a=merge 2015-01-03 20:02:33 -08:00
Carsten "Tomcat" Book
8586519a65 Merge mozilla-central to b2g-inbound 2015-01-02 14:15:38 +01:00
Kartikaya Gupta
b72125b024 Bug 1107280 - Fuzz a test unrelated to event-regions but that fails with event regions enabled. r=me 2015-01-02 17:07:20 -05:00
Joel Maher
e8ac3f45a2 Bug 1114710 - test_leaf_layers_partition_browser_window.xul fails when run as a standalone directory. r=tn 2014-12-31 12:02:00 +01:00
Morris Tseng
2ba8102f1c Bug 1114853 - Part 5: Don't dispatch event when we're at drag mode. r=roc 2014-12-24 00:02:00 +01:00
Morris Tseng
a6bbfddb27 Bug 1114853 - Part 4: Bail out if selections are mismatch. r=roc 2014-12-29 20:02:00 +01:00
Morris Tseng
68d1a81af7 Bug 1114853 - Part 3: Reset mSelectionVisibleInScrollFrames when visibility set to false. r=roc 2014-12-24 01:07:00 +01:00
Morris Tseng
e31d727e5a Bug 1114853 - Part 2: Remove useless SetVisibility calls. r=roc 2014-12-24 00:01:00 +01:00
Jonathan Kew
43a541e5a0 Bug 1116480 - Reftest for textRun bounding box with fake italics. r=roc 2014-12-31 22:35:44 +00:00
Benoit Girard
9e4578658c Bug 1113781 - Only track layer decision with MOZ_DUMP_PAINTING and add a preference. r=mstange 2014-12-31 15:21:58 -05:00
Benoit Girard
8d46226796 Bug 1113837 - Build display-list dumping without MOZ_DUMP_PAINTING. r=mstange 2014-12-31 15:17:39 -05:00
Xidorn Quan
fe93816785 Bug 1116037 part 12 - Move mLineSize to RubyReflowState. r=dbaron
--HG--
extra : source : 17ad55f13af3e96df7649f968c838bc48b323c68
2014-12-30 11:20:10 +11:00
Xidorn Quan
7f2739eedc Bug 1116037 part 11 - Add RubyReflowState for sharing states between ruby level boxes. r=dbaron
--HG--
extra : source : c4f342ece9c1548053348dbc317d9857cbe790b6
2014-12-30 11:16:30 +11:00
Xidorn Quan
0bb4dbd692 Bug 1116037 part 10 - Remove mColumnCount from nsRubyBaseContainerFrame. r=dbaron
--HG--
extra : source : 36096895ec5437c5f9cf6c97d6085bfeae8654c7
2014-12-30 10:05:54 +11:00
Xidorn Quan
8ba18bf45c Bug 1116037 part 9 - Move ruby text container arrays to stack. r=dbaron
--HG--
extra : source : 6c5d7212c3f8c355b4667aa46024dfef0710ca8e
2014-12-30 09:56:34 +11:00
Xidorn Quan
99abdcd337 Bug 1116037 part 8 - Merge two ruby text container arrays. r=dbaron
--HG--
extra : source : 2b3f8e1951d924c14c94c06a44012837b51a04ad
2014-12-30 09:44:12 +11:00
Xidorn Quan
213226e24a Bug 1116037 part 7 - Small fixes to ruby line breaking. r=dbaron
--HG--
extra : source : 54ffc8e890c131d88047e4dabc7c2b71be544a5d
2014-12-30 09:24:57 +11:00
Xidorn Quan
fa0d1da298 Bug 1116037 part 6 - Use a single struct to represent ruby column. r=dbaron
--HG--
extra : source : 7b927cec3f77e194b37de15e3a5b93aa70925d3c
2014-12-29 15:22:19 +11:00
Xidorn Quan
5a382fbaf3 Bug 1116037 part 5 - Use unified struct for ruby reflow states. r=dbaron
--HG--
extra : source : 1c4bb2775ab5e26f34fb260daf12afdf86debe30
2014-12-29 15:03:38 +11:00
Xidorn Quan
10be4260a1 Bug 1116037 part 4 - Remove useless parameters in ruby reflow methods. r=dbaron
--HG--
extra : source : d712ee74e0f33f39b103e88753587559d0a0e9ed
2014-12-29 14:46:24 +11:00
Xidorn Quan
5fa8f6404a Bug 1116037 part 3 - Use ruby "column" instead of "pair" to match the spec term. r=dbaron
--HG--
extra : source : a7e31ed3d8d6933631729f014efb546844c84586
2014-12-29 14:30:00 +11:00
Xidorn Quan
bd4976f4fe Bug 1116037 part 2 - Use frame state bit to mark rtc of span. r=dbaron
--HG--
extra : source : ae8d3b155c8ac5f73992fdb5f23e6be48c884c78
2014-12-29 13:34:07 +11:00
Xidorn Quan
184b5cc54f Bug 1116037 part 1 - Move TextContainerIterator to RubyUtils. r=dbaron
--HG--
extra : source : 2953b34d3cc05a3f34edb3d775821e81c798b77b
2014-12-29 11:14:53 +11:00
Mats Palmgren
45405f30e8 Bug 1116104 - Null-check the do_QueryFrame result before using it. r=roc 2014-12-31 07:10:11 +00:00
Xidorn Quan
3b3c6a4d0b Bug 1114792 - Rename nsStyleContext::IsDirectlyInsideRuby to IsInlineDescendantOfRuby. r=dbaron
--HG--
extra : rebase_source : c28b41828c7d02ab26803c583bae15a218a5da05
2014-12-31 16:39:43 +11:00
Phil Ringnalda
5cc5a1f24c Back out 9 changesets (bug 649142)
Backed out changeset 936703c75200 (bug 649142)
Backed out changeset b0252d2620d8 (bug 649142)
Backed out changeset 69ddb2036c50 (bug 649142)
Backed out changeset 67748675e669 (bug 649142)
Backed out changeset 15ed55c61f4e (bug 649142)
Backed out changeset 35c42cd138e1 (bug 649142)
Backed out changeset 1335630cf287 (bug 649142)
Backed out changeset b5725cd39a31 (bug 649142)
Backed out changeset b0eb691d6695 (bug 649142)
2014-12-30 20:04:20 -08:00
Cameron McCormack
84533fb89e Bug 649142 - Part 8: Tests. r=dbaron 2014-12-31 12:18:16 +11:00
Cameron McCormack
9dca8cecb9 Bug 649142 - Part 7: Move CSS_PROPERTY_LOGICAL up into one of the earlier free bits. r=dbaron 2014-12-31 12:18:16 +11:00
Cameron McCormack
26febeb99d Bug 649142 - Part 6: Remove support for shorthand-implemented logical properties. r=dbaron
This includes removing:

* the box property directional source constants
* the CSS_PROPERTY_DIRECTIONAL_SOURCE property flag
* the CSS_PROPERTY_REPORT_OTHER_NAME property flag
* nsCSSProps::OtherNameFor
* methods on the CSS parser to parse directional box properties and set
  the old *-source and *-value properties
* the resolution of logical and physical properties in nsRuleNode during
  style computation, since that's now done as part of the cascade in
  nsCSSExpandedDataBlock::MapRuleInfoInto
2014-12-31 12:18:16 +11:00
Cameron McCormack
f3b4838e87 Bug 649142 - Part 5: Convert logical border properties. r=dbaron 2014-12-31 12:18:15 +11:00
Cameron McCormack
6399b44e53 Bug 649142 - Part 4: Convert logical margin properties. r=dbaron 2014-12-31 12:18:14 +11:00
Cameron McCormack
fc345d527c Bug 649142 - Part 3: Convert logical padding properties. r=dbaron
Here we convert the logical padding properties into their new resolved-at-
cascade-time implementations.  This involves:

* converting -moz-padding-{start,end} into logical longhand properties
* adding padding-inline-{start,end} aliases for -moz-padding-{start,end}
* converting padding-{left,right} into longhand properties
* removing padding-{left,right}-value and
  padding-{left,right}-{ltr,rtl}-source internal properties

The CSS parser and various tests are simplified a bit as a result.
2014-12-31 12:18:14 +11:00
Cameron McCormack
f2d31a7669 Bug 649142 - Part 2.1: Test that logical properties in property_database.js are longhands. r=dbaron 2014-12-31 12:18:13 +11:00
Cameron McCormack
3c21668a0a Bug 649142 - Part 2: Convert logical properties to their physical equivalents during the cascade. r=dbaron
We will add cases to EnsurePhysicalProperty's switch statement as we
convert the existing shorthand-implemented logical properties to the
new, CSS_PROPERTY_LOGICAL-bearing properties.
2014-12-31 12:18:13 +11:00
Cameron McCormack
a2a49258e5 Bug 649142 - Part 1: Add macros and flags for defining logical properties and don't allocate storage for them in nsRuleData. r=dbaron
We define a new flag CSS_PROPERTY_LOGICAL to be used for logical longhand
properties and a new CSS_PROP_LOGICAL macro in nsCSSPropList.h to
define them.

When using CSS_PROP to capture all properties, includers must now
explicitly indicate whether logical properties are included or not,
by defining CSS_PROP_LIST_EXCLUDE_LOGICAL (to exclude them),
CSS_PROP_LIST_INCLUDE_LOGICAL (to include them), or CSS_PROP_LOGICAL
(to capture them separately from other properties).
2014-12-31 12:18:12 +11:00
Robert Longson
8ca2cf34a7 Bug 1109860 - getBBox incorrect with bidirectional text character. r=heycam 2015-01-02 16:47:47 +00:00
Wes Kocher
e8cbaaf86b Merge m-c to inbound a=merge 2014-12-30 16:04:20 -08:00
Wes Kocher
5f2b1b8698 Merge inbound to m-c a=merge 2014-12-30 15:48:13 -08:00
Kushan Joshi
2124f457f1 Bug 1116008 - Make FrameMetrics::mCriticalDisplayPort private. r=kats 2014-12-30 14:07:57 -05:00
Kartikaya Gupta
2b6a60fb3a Bug 1098654 - Add a cache for animated geometry roots on the display list builder. r=roc 2014-12-30 09:40:01 -05:00
Kartikaya Gupta
b492715b7d Bug 1098654 - Improve layerization of display items when dealing with async scrollable layers. r=tnikkel
The function IsSubjectToAsyncTransforms() was not correctly reporting when a
layer was actually subject to async transforms. As a result, sometimes display
items from above such a layer would end up in a layer below. This could
manifest as page elements being improperly covered by async scrolling elements.
2014-12-30 09:39:39 -05:00
Mats Palmgren
51b6f9592a Bug 1116236 - Fix a typo. r=me 2014-12-30 07:29:40 +00:00
Christoph Kerschbaumer
a620b31464 Bug 1087735: Make JS callers of ios.newChannel call ios.newChannel2 in layout/ (r=dbaron) 2014-10-24 14:58:25 -07:00
Robert O'Callahan
04738683fe Bug 1107508. Disable stylesheets in <use>-cloned subtrees for now. r=heycam
--HG--
extra : rebase_source : c29f557476e71ff9cae478b204185a40be4771d6
2014-12-22 16:09:32 +13:00
Xidorn Quan
7e63e3797c Bug 1103832 - Initialize mLineIsEmpty and mLineAtStart of ruby annotations to false. r=dbaron
--HG--
extra : source : e33bd169b681e446973a67e7aa6976ca530c8bc2
2014-12-10 15:57:14 +11:00
L. David Baron
d7f414e2aa Bug 1115999 - Call ApplyRelativePositioning properly for some table cells that we choose not to reflow. r=roc
I confirmed that the reftest passes with the patch and fails without the
patch.

This is the crazy codepath where nsTableRowFrame sets doReflowChild to
true, and then tests some additional conditions, and based on those
conditions decides to do part (but not all) of the work of reflowing the
child.  This is making relative and sticky positioning work correctly in
that case, which we should really just get rid of, but which I don't
want to deal with now.

--HG--
extra : transplant_source : %B2%BE%A64%F1%5CG%25%BD%0F%BD%3E%94%80%24%86eEWv
2014-12-28 19:42:54 -05:00
Leonid V. Fedorenchik
f7a220a203 Bug 1115327 - Changed FrameMetrics.mScrollableRect to be accessible by getter/setter methods. r=kats 2014-12-27 12:48:27 -05:00
Mats Palmgren
d7a6665152 Bug 1109571 part 5 - tests. 2014-12-26 07:21:32 +00:00
Mats Palmgren
d0e06cf7ac Bug 1109571 part 4 - Frame construction bits to create the appropriate frame tree for table captions. r=roc
Note that this also makes IsPositioned() table captions be abs.pos.
containers, which was broken before.
2014-12-26 07:21:32 +00:00
Mats Palmgren
dd59db2677 Bug 1109571 part 3 - Implement table caption specific code for ComputeAutoSize(), GetCorrectedParent() (for getting the style parent frame) and AccessibleType(). r=roc 2014-12-26 07:21:32 +00:00
Mats Palmgren
64d0368176 Bug 1109571 part 2 - Remove nsGkAtoms::tableCaptionFrame. Implement nsIFrame::IsTableCaption() and use that instead. r=roc 2014-12-26 07:21:32 +00:00
Mats Palmgren
f507207e26 Bug 1109571 part 1 - Remove nsTableCaptionFrame. r=roc 2014-12-26 07:21:31 +00:00
Brian Birtles
097803c0c0 Back out parts 22-29 from bug 927349 for causing intermittent test failure in css-animations/test_animation-pausing.html on 10.8 2014-12-26 11:54:43 +09:00
Brian Birtles
1d4278e7aa Bug 927349 part 29 - Disable failing browser_555547.js on Windows opt - pushed again without backing out parts 22-29 at the same time; r=me
In https://hg.mozilla.org/integration/mozilla-inbound/rev/3ab2ff9b9f94
I accidentally pushed part 29 along with a backout for parts 22-29. This patch
reverts that change.

If this changset causes problems, the following changesets should be backed out:

https://hg.mozilla.org/integration/mozilla-inbound/rev/477f46897b0b
https://hg.mozilla.org/integration/mozilla-inbound/rev/6c345954bce5
https://hg.mozilla.org/integration/mozilla-inbound/rev/642e400b22a9
https://hg.mozilla.org/integration/mozilla-inbound/rev/9bdf7c2279fa
https://hg.mozilla.org/integration/mozilla-inbound/rev/79cac8c71159
https://hg.mozilla.org/integration/mozilla-inbound/rev/cfe757e478d5
https://hg.mozilla.org/integration/mozilla-inbound/rev/eaf834051cbd
2014-12-26 08:49:20 +09:00
Brian Birtles
108f13e89d Bug 927349 part 29 - Disable failing browser_555547.js on Windows opt; r=me (as discussed with jwatt) 2014-12-25 16:31:55 +09:00
Brian Birtles
96f2c97408 Bug 927349 part 28 - Call AddLayerChangesForAnimation after updating style; r=dbaron 2014-12-25 16:28:25 +09:00
Brian Birtles
b6f15c2bb3 Bug 927349 part 22 - Make AnimationPlayer wait for animations to be rendered before starting; r=jwatt
This patch (finally!) introduces the delayed start behavior. It updates
AnimationPlayer::DoPlay to put animations in the PendingPlayerTracker from
where they are triggered.

This patch also updates nsTransitionManager to set the animation's source
before calling Play as otherwise the AnimationPlayer won't be able to access
the pending player tracker (which it locates by navigating AnimationPlayer ->
Animation (source content) -> target element -> composed doc -> pending player
tracker). In future, when we support setting the AnimationPlayer.source property
we will make this more robust so that the order in which these steps are
performed doesn't matter.

This patch also updates a couple of tests to reflect the fact that
AnimationPlayer will now return the pending state.
2014-12-25 16:28:24 +09:00
Simon Montagu
c8c999b6c8 Bug 1113526: make GetLogicalNormalPosition return the correct logical origin of the frame, not just convert the physical origin to logical coordinates, r=jfkthame 2014-12-24 04:39:46 -08:00
Jonathan Kew
114bff56b1 Reftest for bug 1114329, r=smontagu 2014-12-22 02:28:20 -08:00
Chris Peterson
0de868f259 Bug 1115264 - Fix -Wsometimes-uninitialized clang warning in nsRubyFrame.cpp. r=dholbert 2014-12-23 21:29:32 -08:00
Xidorn Quan
242efd9c87 Bug 1055665 part 5 - Tests for ruby-position. r=dholbert
--HG--
extra : source : 09e28946e0743204f05af32baf99f8e70f86e2bc
2014-12-09 17:47:26 +11:00
Xidorn Quan
1f8304d7af Bug 1055665 part 4 - Position text containers according to ruby-position. r=dholbert
--HG--
extra : source : 434cf70e300dcf9985e013a0a76703972804b02a
2014-12-17 19:42:32 +11:00
Xidorn Quan
89c95f9472 Bug 1055665 part 3 - Position ruby annotations and set the line size of them correctly. r=dholbert
--HG--
extra : source : c4dff2a39c852a249a5ff6e929780d898ba956ac
2014-12-09 17:47:26 +11:00
Xidorn Quan
2d0a32321a Bug 1055665 part 2 - Make nsLineLayout::VerticalAlignLine not rely on line box. r=roc
--HG--
extra : source : c9cc22b10e21bf80d1129e8a01319b05e546b922
2014-12-09 17:47:26 +11:00
Xidorn Quan
6e944d8d19 Bug 1055665 part 1 - Add support for parsing & computing CSS property "ruby-position". r=dholbert
--HG--
extra : source : 2fd75789fe00d972d78a5b189f1ac50f6b2a385f
2014-12-09 17:47:18 +11:00
Wes Kocher
d1431d12f7 Merge m-c to inbound a=merge CLOSED TREE 2014-12-23 16:54:09 -08:00
Wes Kocher
aca592252a Merge inbound to mozilla-central a=merge CLOSED TREE 2014-12-23 16:47:42 -08:00
Wes Kocher
4de782ad48 Merge b2g-inbound to mozilla-central a=merge CLOSED TREE 2014-12-23 16:36:48 -08:00
pchang
05f7bdf24d Bug 1068474 - Limit the selection range based on the boundary of startcaret and endcaret. r=roc 2014-12-19 13:25:17 +08:00
Nicolas Silva
812d60514e Bug 1071769 - Fuzz some test to enable DrawTargetTile on b2g. r=Bas 2014-12-23 10:52:20 +01:00
Xidorn Quan
3935b4967d Bug 1098272 part 6 - Check whether line break is allowed in ruby. r=dbaron
--HG--
extra : rebase_source : e016ab26fa8c22568d2310c17f34c4e1013373a2
extra : source : 7899fcd7c6f9059fdbf7417274f9181ed71d1e50
2014-12-22 16:52:30 +11:00
Xidorn Quan
4f2898c9b9 Bug 1098272 part 5 - Move final line break check code in ruby. r=dbaron
--HG--
extra : rebase_source : ebafbe41f95d43329eb6f3e67ed1eb2be0033d68
extra : source : b3e1d5a511d0caa503f5bd8161f549f0d6cd1070
2014-12-22 16:36:55 +11:00
Xidorn Quan
1b2b3ceefe Bug 1098272 part 4 - Remove unused parameter of nsRubyBaseContainerFrame::ReflowSpans. r=dbaron
--HG--
extra : rebase_source : ae32a99dbaf9faaad19f54ebba6e8d2e49a955a7
extra : source : 99bbfb3dce962504d1014e632c4b4b7f19a00276
2014-12-22 16:32:14 +11:00
Xidorn Quan
6d833113f2 Bug 1098272 part 3 - Move initial line break check code in ruby. r=dbaron
--HG--
extra : rebase_source : 99b3ea00f9905165f7a9d06842f944a2a35e1521
extra : source : 90b588b9897d0c53f4022c4c942d410942bbe0fe
2014-12-22 16:24:24 +11:00
Xidorn Quan
b23b5054cc Bug 1098272 part 2 - Assert that there is no line break inside ruby. r=dbaron
--HG--
extra : rebase_source : 67ea1b202e197babf581a5f207c6b49ffe65a8fd
extra : source : c4dc03f162dc1b5c0e16bdfc3a338637c6ddb92c
2014-12-22 16:16:06 +11:00
Xidorn Quan
1885ee82d4 Bug 1098272 part 1 - Suppress line breaks inside ruby boxes. r=dbaron,roc
--HG--
extra : rebase_source : 2e884fd15244a265011e3241be084c5a1c6fd66e
extra : source : 0ea7212c131401abff6a097773ae93cdfa05dcde
2014-12-22 15:17:55 +11:00
Daniel Holbert
568db027f3 Bug 1113811: Remove unnecessary null-check of infallible 'new', in ParseDeclarationBlock. r=heycam 2014-12-22 18:21:45 -08:00
Wes Kocher
18d9cfef3c Backed out changeset f6a3f2525323 (bug 1113811) for breaking lots of things on a CLOSED TREE 2014-12-22 17:03:11 -08:00
Daniel Holbert
9b95bbcdf9 Bug 1113811: Remove unnecessary null-check of infallible 'new', in ParseDeclarationBlock. r=heycam 2014-12-22 16:05:05 -08:00
Xidorn Quan
c4980dd77d Bug 1108429 part 8 - Implement default ruby alignment. r=roc
--HG--
extra : source : 469cb97255e807acd60aea73db7e76e03d9409c9
2014-12-15 10:33:59 +11:00
Xidorn Quan
64d249d8f3 Bug 1108429 part 7 - Modify jusitication computation to take ruby into account. r=roc
--HG--
extra : source : dc85c8f239aa5f08d31ada2f1346ad1965bdd4c2
2014-12-15 10:19:38 +11:00
Xidorn Quan
c8e5319d3d Bug 1108429 part 6 - Record inner justification opportunities for each frame. r=roc
--HG--
extra : source : 40cee8a9a435667520e3cc846783e8c17b252c5a
2014-12-15 09:57:36 +11:00
Xidorn Quan
7f20664596 Bug 1108429 part 5 - Enable justification computation when there is ruby. r=roc
--HG--
extra : source : a70242f72a280e7f1ceab6b6fa4ece13bd807dee
2014-12-13 22:18:16 +11:00
Xidorn Quan
a42e63fce3 Bug 1108429 part 4 - Handle isize reservation in sync annotation rect. r=roc
--HG--
extra : source : 9cd4da9858ad4a314cef0354ec73b8bd635c5ca9
2014-12-13 16:13:12 +11:00
Xidorn Quan
00f5895dae Bug 1108429 part 3 - Add flag to indicate the existance of ruby. r=roc
--HG--
extra : source : 322ca21457397001c361db0ea766367d19b9b9a1
2014-12-13 11:48:30 +11:00
Xidorn Quan
7ecd0b6372 Bug 1108429 part 2 - Reserve isize for ruby boxes. r=roc
--HG--
extra : source : 123248ecc3ecfe0b4f9f0f544771cb4cc0f6192c
2014-12-13 11:05:02 +11:00
Xidorn Quan
f381e0d160 Bug 1108429 part 1 - Add ruby utils for reserving isize of ruby boxes. r=roc
--HG--
extra : source : 1f280f5e65b715e5be3737d4eb80d6f220bb078a
2014-12-12 21:30:43 +11:00
Xidorn Quan
545f145200 Bug 1109937 - Change flags in PerFrameData to use bit fields. r=roc
--HG--
extra : source : 76160496de67f8d8e3f0823613632897ab55fa84
2014-12-23 10:22:26 +11:00
Ryan VanderMeulen
a77443ef61 Merge m-c to fx-team. a=merge 2014-12-23 13:19:37 -05:00
Hallvord R. M. Steen
5c9ad68afc Bug 1101873 - Remove the part of the 923971 patch that caused a new problem. r=enndeakin 2014-11-27 10:23:51 +01:00
Mark Hammond
243a2df124 Bug 1109120 - use a geoip xhr request for more reliable country detection for search. r=gavin 2014-12-23 22:17:12 +11:00
Carsten "Tomcat" Book
92ecd32f49 Backed out changeset 4aad6ecf4b7d (bug 1098161) for marionette test failures 2014-12-22 09:34:14 +01:00
Morris Tseng
e77e699a9b Bug 1109800 - Call CancelLongTapDetector when Selection carets are blurred. r=roc 2014-12-18 22:50:00 +01:00
pchang
021f756efd Bug 1098161 - Notify shortcut mode to system app when long tap on content with empty text. r=roc 2014-12-19 14:04:45 +08:00
Phil Ringnalda
e3cfb76038 Back out 155b9d4cb8cb (bug 1068474) for Marionette failures 2014-12-21 18:54:23 -08:00
pchang
17473f3184 Bug 1068474 Limit the selection range based on the boundary of startcaret and endcaret, r=roc
---
 layout/base/SelectionCarets.cpp | 13 +++++++++++++
 layout/base/SelectionCarets.h   |  8 ++++++++
 2 files changed, 21 insertions(+)
2014-12-19 13:25:17 +08:00
Brian Birtles
85de6d4ee1 Bug 927349 part 19 - Don't add pending animations to layers when their refresh driver is under test control; r=jwatt 2014-12-22 09:35:42 +09:00
Brian Birtles
c0f8394d7d Bug 927349 part 16 - Do a full reflow when we have pending animations; r=jwatt
We want to time animations from when their first frame is painted. However,
interruptible reflow complicates this since, for a given set of pending
animations, some may be painted whilst others are not. To simplify this we
simply force an uninterruptible reflow when we have animations that are
waiting to start.
2014-12-22 09:35:41 +09:00
Brian Birtles
20b332cf25 Bug 927349 part 13 - Update start times on animations in layers when the animation ready time is resolved; r=nical 2014-12-22 09:35:41 +09:00
Brian Birtles
febadec1c8 Bug 927349 part 12 - Store the initial time of animations on layers so start times can be resolved after-the-fact; r=nical 2014-12-22 09:35:41 +09:00
Brian Birtles
5cb1d3f615 Bug 927349 part 11 - Pass the animation ready time to the pending player tracker; r=jwatt 2014-12-22 09:35:41 +09:00
David Anderson
aab471611b Fix a layout bug with columnset, transforms, and fixed positions. (bug 1112501, r=dbaron) 2014-12-20 19:14:03 -08:00
Mats Palmgren
a958525542 Bug 1111995 - Mochitest. 2014-12-20 20:19:13 +00:00
Mats Palmgren
ad530d745a Bug 1111995 - Clip buttons to their border area for event hit testing. r=roc 2014-12-20 20:19:12 +00:00
Markus Stange
0227d3cc8b Bug 1101635 - Enable tiling on 10.6. r=jrmuizel f=milan 2014-12-19 14:48:33 -05:00
Markus Stange
6499e132f2 Bug 1101635 - Adjust reftest fuzzing for tiling on 10.6. r=jrmuizel 2014-12-19 14:48:33 -05:00
Ryan VanderMeulen
4182c1eda0 Backed out changesets 5f7211d4190d and bac36f6e728f (bug 1111995) for B2G desktop mochitest failures.
CLOSED TREE
2014-12-19 14:33:58 -05:00
Daniel Holbert
70ef94b297 (no bug) Fix typo in copypasted assertion text in nsStyleBasicShape accessors. rs=krit over IRC 2014-12-19 10:12:31 -08:00
Daniel Holbert
e68a45dc52 Bug 1113419: Make eUnit_Filter ordering more consistent, in switch statements & enum definition in StyleAnimationValue.h,cpp r=krit 2014-12-19 10:12:29 -08:00
Mats Palmgren
d0a753cb6f Bug 1111995 - Mochitest. 2014-12-19 18:01:13 +00:00
Mats Palmgren
57c36558e8 Bug 1111995 - Clip buttons to their border area for event hit testing. r=roc 2014-12-19 18:01:13 +00:00
Mats Palmgren
bf549d4111 Bug 1111292 - Include the column gap(s) in the minimum width calculation when the number of columns is non-auto. r=roc 2014-12-19 16:28:43 +00:00
Mats Palmgren
5f0a00a9eb Bug 447660 part 3 - When collecting / pushing a float, make sure to also pick up its next-in-flows that are in same block. r=roc
Move the AssertNoDuplicateContinuations in DrainPushedFloats earlier because
DrainOverflowLines() sometimes picks up overflow line with a placeholder for
a float that has a next-in-flow in this block and unmark those floats as
pushed floats because they aren't anymore.

Change AppendPushedFloat to push any next-in-flows that are in the same block
as the given float too.

Make DoCollectFloats collect next-in-flows in the same block.

Make VerifyOverflowSituation check some float list invariants too.
2014-12-19 16:28:43 +00:00
Mats Palmgren
3ef8ec759a Bug 447660 part 2 - Mark an existing next-in-flow of a float that is split due to it being NOT_COMPLETE as NOT being an overflow container. r=roc 2014-12-19 16:28:43 +00:00
Mats Palmgren
17896858d5 Bug 447660 part 1 - Replace the #define DISABLE_FLOAT_BREAKING_IN_COLUMNS with a pref to enable fragmenting of floats inside columns. Set the pref enabled by default in non-RELEASE builds only. r=roc 2014-12-19 16:28:43 +00:00
Mats Palmgren
778405d7bb Bug 1111360 - Remove the unused NS_IS_REFLOW_ERROR macro and an obsolete comment. r=roc 2014-12-19 16:28:42 +00:00
Jonathan Kew
76895ff844 Bug 1111525 - Remove unused lineFlags returned by nsILineIterator. r=roc 2014-12-19 14:55:30 +00:00
Cameron McCormack
a2a8c92c86 Bug 649145 - Store properties on nsCSSCompressedDataBlocks in declaration order. r=dbaron 2014-12-19 14:32:34 +11:00
Nicholas Nethercote
a19a4f6f38 Bug 1113010 (part 2) - Shrink FrameConstructionItem by using bitfields. r=dholbert.
This reduces its size from 168 bytes to 160 bytes on 64-bit platforms.

--HG--
extra : rebase_source : de9bb482ccbdb85efa79f82083fa8f35bb629078
2014-12-18 14:15:18 -08:00
Nicholas Nethercote
e3885c6a1c Bug 1113010 (part 1) - Shrink FrameConstructionItem by reordering some fields. r=dholbert.
This reduces its size from 176 bytes to 168 bytes on 64-bit platforms.

--HG--
extra : rebase_source : 89b4f1c6e618eb1ab75989162c26308753a59d56
2014-12-18 14:14:58 -08:00
Nicholas Nethercote
a8dda673bd Bug 1113010 (part 0) - Remove impossible path in AddFrameConstruct(). r=dholbert.
Infallible new ensures that |item| is always non-null. And even if it didn't,
AppendItem() dereferences |item| before this code is reached.

--HG--
extra : rebase_source : 9abb8704ba03f455d6b77c5735fcb6cde4f8fef8
2014-12-18 14:14:31 -08:00
Prabhjyot Singh Sodhi
78f5368e85 Bug 1112830 - Changed mCumulativeResolution of FrameMetrics.h to private and all correspondings files using this variable using getters and setters;r=kats 2014-12-18 19:33:18 -05:00
Ryan VanderMeulen
171f4434db Merge m-c to inbound. a=merge 2014-12-18 18:12:31 -05:00
Ryan VanderMeulen
4522417bea Merge inbound to m-c. a=merge 2014-12-18 17:59:14 -05:00
Patrick McManus
34eac8c38a bug 1003450 - [2/3] Group Dependency nodes for HTTP/2 r=hurley 2014-12-06 14:26:50 -05:00
Ryan VanderMeulen
5dd2e8e2b3 Bug 1112988 - Skip layout/base on Mulet due to its inability to run the tests without blowing up in some way or another. 2014-12-17 22:39:14 -05:00
Ryan VanderMeulen
4712c6da5b Merge m-c to inbound. a=merge
CLOSED TREE
2014-12-17 21:03:11 -05:00
Ryan VanderMeulen
d2ebc2ac1b Merge inbound to m-c. a=merge
CLOSED TREE
2014-12-17 20:53:20 -05:00
Ryan VanderMeulen
80d00d06d6 Bug 1087611 - Disable test_bug968148.html on Mulet. 2014-12-17 20:39:08 -05:00
David Anderson
c6a362e7e4 Allow containerless scrolling for root scroll frames, too. (bug 1076192, r=tn)
--HG--
extra : rebase_source : 29d74a8734aabc0e583ad5e372f7b04bcc9e2b8f
2014-12-17 15:37:28 -08:00
Brian Birtles
c59d2a6a21 Bug 927349 part 5 - Cancel players that are no longer used; r=jwatt
This patch adds a means of terminating an animation so that is has no effect.
The procedure is defined by Web Animations:

  http://w3c.github.io/web-animations/#cancelling-a-player-section

We don't implement all of this, however, since we don't currently support the
finished promise or custom effects.

In a later bug we will expose this as the cancel() method on AnimationPlayer.

We call this method for terminated animations in nsAnimationManager and
nsTransitionManager to ensure they get removed from the pending player tracker
and so that, for example, the ready promise of CSS Animation player objects is
rejected when the corresponding item is removed from animation-name.
2014-12-18 08:42:41 +09:00