Commit Graph

32108 Commits

Author SHA1 Message Date
Robert O'Callahan
b9b4766f33 Bug 723484. Fix alpha values for image layers with opacity. r=bas 2012-03-20 20:55:40 +13:00
Simon Montagu
5a201aafa0 Add a mParagraphDepth member to BidiParagraphData and cache it on frames to track nested bidi-isolated paragraphs. Use mParagraphDepth (* 2 + isRTL in order to keep LTR even and RTL odd) as the initial paragraph embedding level instead of pushing a stack of embedding codes. Pass the <bdi> frame instead of its first-child to BidiParagraphData::Reset and save a call to GetParent(). Split inline ancestors before and after bidi-isolated paragraphs, in the same way that we currently do between runs in different directions. This required also adding code to SplitInlineAncestors to handle situations where the parent frame is being split before its first child or after its last child. In JoinInlineAncestors, prevent frames that belong to paragraphs isolated from one another from being rejoined. Bug 712600, r=ehsan, roc 2012-01-11 21:26:02 +02:00
Aharon (Vladimir) Lanin
db608111ef Tests for bug 712600. r=smontagu 2012-01-08 16:29:19 +02:00
Boris Zbarsky
a90ab1fdc8 Bug 537624. Don't set up undisplayed entries until we're sure we're creating frames from the relevant FrameConstructionItemList. r=roc 2012-03-19 18:22:02 -04:00
Boris Zbarsky
7cd871dc54 Bug 721659. Update the width/height of an image synchronously when src is set to something that was preloaded. r=bholley 2012-03-19 18:22:02 -04:00
Wes Johnston
ceafdda492 Bug 722965 - Remove MOZ_TOUCH ifdefs. r=smaug 2012-03-19 14:34:34 -07:00
Ehsan Akhgari
a36bef1294 Bug 734530 - Spell check textareas if they're reframed when focused; r=roc
--HG--
rename : layout/reftests/editor/spellcheck-textarea-focused.html => layout/reftests/editor/spellcheck-textarea-focused-reframe.html
2012-03-19 12:21:56 -04:00
Mounir Lamouri
02a6895e14 Bug 720799 - Don't use mDocShell in nsScreen. r=jst,jlebar 2012-03-14 19:14:53 +01:00
Dão Gottwald
d95bec90ea merge backout 2012-03-19 12:54:47 +01:00
Dão Gottwald
6483ef2ee1 Backed out changeset 2cd01fd07ce8 2012-03-19 12:54:32 +01:00
Masatoshi Kimura
d5f85c93cb Bug 736687 - Warn on use of MozBlobBuilder. r=sicking
--HG--
rename : layout/reftests/svg/as-image/img-blobBuilder-1.html => layout/reftests/svg/as-image/img-blobURI-1.html
rename : layout/reftests/svg/as-image/img-blobBuilder-2.html => layout/reftests/svg/as-image/img-blobURI-2.html
2012-03-19 12:00:43 +01:00
Adam Dane [:hobophobe]
2c3301cdb1 Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-18 14:42:25 -05:00
Robert O'Callahan
c99be2d6d4 Backing out changeset 0fe31dd7bbc5 for bug 735141 due to test failures. 2012-03-19 23:21:11 +13:00
Robert O'Callahan
47d208de1e Backed out changeset 0fe31dd7bbc5 2012-03-19 23:19:59 +13:00
Nicholas Nethercote
092c8b03a9 Bug 712865 - Avoid some padding nsCSSCompressedDataBlock by storing nsCSSValue and nsCSSProperty elements separately (2nd attempt). r=dbaron. 2012-03-19 01:39:15 -07:00
Jonathan Watt
557c80bf6d Bug 379709 - Avoid reflowing SVG twice during page load due to initially assuming we'll need space for a vertical scrollbar when the nsSVGOuterSVGFrame can tell us we won't. r=bz. 2012-03-19 08:34:19 +00:00
Robert O'Callahan
7c63052f36 Bug 735141. Clear imageContainer to indicate that we're not using that optimization. r=tnikkel 2012-03-19 20:26:39 +13:00
Nicholas Nethercote
204ccd37e5 Backed out changeset c880f229fbf5 (bug 712865) due to build bustage. r=me. 2012-03-18 22:53:20 -07:00
Nicholas Nethercote
f62f7cea29 Bug 712865 - Avoid some padding nsCSSCompressedDataBlock by storing nsCSSValue and nsCSSProperty elements separately. r=dbaron.
--HG--
extra : rebase_source : 83dc6eff5e5500fa0dffc0e07d731941ee9e8122
2012-03-18 16:28:08 -07:00
Jonathan Watt
796c3ddca9 Bug 736753 - Fix the includes in layout/svg/base/src so that we can stop including nsSVGSVGElement.h in nsSVGContainerFrame.h. r=longsonr. 2012-03-18 10:32:02 +00:00
Mark Finkle
5d52d341f9 Backout 7e28d1a2c648, 330b210f503d, 2421d39e0ab3, aa978ffa44bc, 38a71ae7e06d, b94319584a7a, 7e8278f5e814, 0b4e3c7608ab, 329c07609ca8, 0d61a0d8dba4, Due to Ts regression on Android 2012-03-17 21:51:39 -04:00
Mounir Lamouri
74b8e96361 Bug 720799 - Don't use mDocShell in nsScreen. r=jst,jlebar 2012-03-14 19:14:53 +01:00
Jonathan Kew
a9c92a72c5 bug 736726 - mark reftest bidi-003 as failing on android for now. no_r=me 2012-03-17 13:07:08 +00:00
William Lachance
b875233d85 Bug 736246 - DeviceManagerADB should throw an exception if we know it's not going to work. r=jmaher 2012-03-16 18:36:28 -04:00
Atul Aggarwal
38ffd75c2e Bug 536758 - window.getComputedStyle().lineHeight to skip font size ratio adjustment for minimum font size when font sizes are 0. r=dbaron 2011-11-01 12:36:50 +05:30
Aryeh Gregor
ad217f921d Bug 719523 - Selection.selectAllChildren() on a Document always produces end offset of 1; r=ehsan 2012-03-16 12:56:54 -04:00
Boris Zbarsky
c6d965bec9 Bug 735579. Correctly handle changes to column widths in fixed-layout tables. r=ehsan 2012-03-16 15:56:41 -04:00
Daniel Holbert
98b0d12882 Bug 732610 - Make nsIFrame::ComputeSize take a bitfield 'aFlags' instead of a bool 'aShrinkWrap'. r=dbaron 2012-03-16 11:01:05 -07:00
Boris Zbarsky
7a56376d14 Bug 736389. Get rid of code that reresolved style on overflow containers multiple times and in the process violated some invariants other code depended on. r=mats 2012-03-16 13:13:14 -04:00
Aryeh Gregor
de65e0a8ea Bug 719515 - Selection.extend() should replace the existing range, not mutate it; r=ehsan 2012-03-15 14:26:32 -04:00
Marco Bonardo
cb781bfe97 Merge inbound and central 2012-03-16 13:42:16 +01:00
John Daggett
f6d4d913cf Bug 512566. Changes based on review comments. r=bz,jfkthame 2012-03-16 12:31:01 +09:00
John Daggett
a068d45dbb Bug 512566. Font data url reftests. r=jfkthame 2012-03-16 12:31:01 +09:00
John Daggett
498718a3eb Bug 512566. Load font data url's synchronously, netwerk/style changes. r=bz 2012-03-16 12:31:01 +09:00
Daniel Holbert
86b54c02ab (no bug) Fix alignment of member vars mClip, mClipFlags in nsStyleDisplay class definition. whitespace-only, DONTBUILD 2012-03-15 18:13:08 -07:00
Cameron McCormack
db6a931dc3 Bug 736326 - Fix nscoord/nscolor typo. r=dbaron 2012-03-16 11:53:50 +11:00
Ed Morley
9424dfaf15 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-15 12:42:01 +00:00
Kyle Machulis
b604262aa4 Bug 735017: Clean up namespaces and naming for gonk dom objects in gonk specific code - Patch 2: Change mozilla::dom::telephony to mozilla::dom::gonk for dom/system/gonk objects; r=bent 2012-03-14 15:43:26 -07:00
Kyle Machulis
5a8150c5e0 Bug 735017: Clean up namespaces and naming for gonk dom objects in gonk specific code - Patch 1: Change dom/system/b2g to dom/system/gonk; r=philikon
--HG--
rename : dom/system/b2g/AudioManager.cpp => dom/system/gonk/AudioManager.cpp
rename : dom/system/b2g/AudioManager.h => dom/system/gonk/AudioManager.h
rename : dom/system/b2g/GonkGPSGeolocationProvider.cpp => dom/system/gonk/GonkGPSGeolocationProvider.cpp
rename : dom/system/b2g/GonkGPSGeolocationProvider.h => dom/system/gonk/GonkGPSGeolocationProvider.h
rename : dom/system/b2g/Makefile.in => dom/system/gonk/Makefile.in
rename : dom/system/b2g/RadioInterfaceLayer.js => dom/system/gonk/RadioInterfaceLayer.js
rename : dom/system/b2g/RadioInterfaceLayer.manifest => dom/system/gonk/RadioInterfaceLayer.manifest
rename : dom/system/b2g/SystemWorkerManager.cpp => dom/system/gonk/SystemWorkerManager.cpp
rename : dom/system/b2g/SystemWorkerManager.h => dom/system/gonk/SystemWorkerManager.h
rename : dom/system/b2g/net_worker.js => dom/system/gonk/net_worker.js
rename : dom/system/b2g/nsIAudioManager.idl => dom/system/gonk/nsIAudioManager.idl
rename : dom/system/b2g/nsIRadioInterfaceLayer.idl => dom/system/gonk/nsIRadioInterfaceLayer.idl
rename : dom/system/b2g/nsIWorkerHolder.idl => dom/system/gonk/nsIWorkerHolder.idl
rename : dom/system/b2g/nsRadioInterfaceLayer.h => dom/system/gonk/nsRadioInterfaceLayer.h
rename : dom/system/b2g/ril_consts.js => dom/system/gonk/ril_consts.js
rename : dom/system/b2g/ril_worker.js => dom/system/gonk/ril_worker.js
rename : dom/system/b2g/systemlibs.js => dom/system/gonk/systemlibs.js
rename : dom/system/b2g/tests/header_helpers.js => dom/system/gonk/tests/header_helpers.js
rename : dom/system/b2g/tests/test_ril_worker_buf.js => dom/system/gonk/tests/test_ril_worker_buf.js
rename : dom/system/b2g/tests/test_ril_worker_sms.js => dom/system/gonk/tests/test_ril_worker_sms.js
rename : dom/system/b2g/tests/xpcshell.ini => dom/system/gonk/tests/xpcshell.ini
2012-03-14 15:42:31 -07:00
Kyle Huey
460af847e2 Bug 730587: Stash a pointer to the subtree root on DOM nodes. r=smaug, sr=jst 2012-03-14 13:14:02 -07:00
James Willcox
3ca57187dd Bug 728371 - Make Flash work with GLES 2.0 and GL layers r=pcwalton
--HG--
extra : rebase_source : 4b845e7dc4224bfd807fb757e7199c91655c0d69
2012-03-12 13:03:54 -04:00
Ali Juma
0e369cf4b3 Bug 725095 - Address Layout review comments. r=mats 2012-03-13 12:57:31 -04:00
Benoit Girard
dc6ea71b7e Merge mc->Maple 2012-03-13 11:05:28 -04:00
Jonathan Kew
c6a53261f1 bug 726539 - reftests for repeated feature in -moz-font-feature-settings. r=jdaggett 2012-03-13 10:22:16 +00:00
Boris Zbarsky
0b6e42d918 Bug 732667. Only do checks for :hover selectors when hover state changes on nodes which have relevant hover rules. r=dbaron 2012-03-12 22:54:15 -05:00
Boris Zbarsky
173c545b7b Bug 705877 part 6. Make frame construction use ancestor filters when resolving style. r=dbaron 2012-03-12 22:54:15 -05:00
Boris Zbarsky
89ca391782 Bug 705877 part 5. Make style reresolution actually use ancestor filters. r=dbaron 2012-03-12 22:54:15 -05:00
Boris Zbarsky
4e80e64553 Bug 705877 part 4. Use the TreeMatchContext's ancestor filter, if any, in EnumerateAllRules. r=dbaron 2012-03-12 22:54:15 -05:00
Boris Zbarsky
3e12270964 Bug 705877 part 3. Hang an optional Bloom filter and some methods for managing it off the TreeMatchContext. r=dbaron 2012-03-12 22:54:15 -05:00
Boris Zbarsky
0f31ab2288 Bug 705877 part 2. Store the hashes of the atoms occurring as IDs, classes, and tag names in selectors that would need to match one of our ancestors. r=dbaron
We store a maximum of 4 hashes to save space.  Interesting questions are whether 4 is the right number
and whether we should, prioritize ids and classes over tags.  In practice, this seems to be good enough
at least performance-wise, though it's possible we could use less memory and still do OK on the performance.
2012-03-12 22:54:14 -05:00