Commit Graph

15912 Commits

Author SHA1 Message Date
L. David Baron
ba8841c136 Bug 841896: Rename CSSKeyframesRule.insertRule to appendRule to match spec change.
Note that this does not change the IID of nsIDOMMozCSSKeyframesRule
since neither the method signature nor semantics have changed; only the
name is different.
2013-02-15 21:38:34 -08:00
L. David Baron
01a5b0481c Bug 841789, patch 3: Some removal of unneeded style context null-checks and comment cleanup. r=dholbert 2013-02-15 21:38:34 -08:00
L. David Baron
5464b49cb0 Bug 841789, patch 2: Fix callers that are going through the style context to get style structs rather than using the nsIFrame shortcuts. r=dholbert
This is just a code simplification that I noticed while reading through
patch 1.
2013-02-15 21:38:34 -08:00
L. David Baron
63fdfec174 Bug 841789, patch 1: Rename nsIFrame::GetStyleContext() to nsIFrame::StyleContext() since it can never return null. r=dholbert
This makes it conform to our convention that getters returning pointers
that can never be null do not begin with "Get".
2013-02-15 21:38:33 -08:00
Boris Zbarsky
824de2ea6e Bug 840898. Flag our nullable return value as actually being nullable. r=tbsaunde 2013-02-15 22:36:15 -05:00
Jesse Ruderman
41735266e9 Bug 840402 - Add some more values to property_database.js. r=dbaron 2013-02-15 18:42:48 -08:00
Daniel Holbert
db5d7928b8 Bug 821775: Set mHResize & mVResize flags when doing the actual reflow of a flex item, if we did an earlier "measuring" reflow and we're now stretching the item in either or both dimensions. r=dbaron 2013-02-15 14:01:48 -08:00
Trevor Saunders
4bc29b1b63 bug 841706 - remove nsSelectionIterator r=smaug 2013-02-15 05:52:57 -05:00
Avi Halachmi
22359abefa Bug 838758: Cache GradientStops instead of gfxPattern. r=jrmuizel
Our gfxPattern cache is currently way too specific, which causes lots of
unnecessary cache misses. The only thing that we actually need to key on is the
color stops.

This switches the cache to hold GradientStops instead of gfxPatterns. This
improves our cache hit rate and is simpler. It also avoids doing caching when
not using Azure, which currently has no benefit.

Average paint times results (in ms)
(on windows 7 x64, i7-3630qm, HD4000)
-------------------------------------
m-c
open: 3.5 close: 3.3

m-c cache-key
open: 2.6 close: 2.4

ux
open: 7.3 close: 5.2

ux cache-key
open: 6.9 close: 5.3
2013-02-15 20:54:49 +02:00
Benjamin Peterson
aaed452e23 Bug 841407 - Replace usage of enablePrivilege in inspector tests. r=bholley 2013-02-15 09:34:46 -05:00
Trevor Saunders
ef3a9cb704 bug 841430 - nuke nsIEditorDocShell r=bz 2013-02-13 17:39:30 -05:00
Trevor Saunders
afab70f054 bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Ed Morley
3288d5e24a Backed out changeset 2c860c4bb820 (bug 840902) on a CLOSED TREE 2013-02-15 09:05:36 +00:00
Ed Morley
7054010458 Backed out changeset 6c21598704ac (bug 840902) 2013-02-15 09:05:07 +00:00
Robert O'Callahan
34c090a860 Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
--HG--
extra : rebase_source : ce01b066f803e048c0e38e5316ce96a75e689418
2013-02-15 00:12:27 +13:00
Robert O'Callahan
e5e7f8c6aa Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow
--HG--
extra : rebase_source : b7db21120cdd96342502db64916b0b2e75c0a9c3
2013-02-15 00:08:08 +13:00
Cameron McCormack
f46a9972bd Bug 841163 - Ensure that we recompute SVG text glyph positions only once frames have been reconstructed. r=roc 2013-02-15 15:29:28 +11:00
Christian Holler
2f0c5d33a1 Bug 838557 - Create a common interface for ASan/Valgrind functions. r=mats,bhackett 2013-02-15 00:50:11 +01:00
Ryan VanderMeulen
6ab6261d7e Backed out changesets 45f20f94da76 and 47c4a7768ed9 (bug 841436) for Windows bustage on a CLOSED TREE. 2013-02-14 16:52:54 -05:00
William Chen
0ed406811c Bug 827227 - Fixed int overflow when scaling border-image-width. r=dbaron 2013-02-14 11:57:20 -08:00
Trevor Saunders
57ea64cf9e bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Trevor Saunders
60c334769d bug 840906 - densISupportsify nsDOMRGBCSSColor r=mccr8 2013-02-13 16:39:23 -05:00
Timothy Nikkel
b4d7b6c076 Bug 830479. Fix fatal build warning about unsigned/signed comparison on CLOSED TREE. r=me 2013-02-14 11:57:50 -06:00
Timothy Nikkel
9c34c4933d Bug 830479. Account for multiple fixed elements acting as headers and footers when doing full page scrolling. r=roc 2013-02-13 22:36:02 -06:00
Ed Morley
ea6cb39072 Backed out changeset b1905f6653d4 (bug 840902) on a CLOSED TREE 2013-02-14 11:47:08 +00:00
Ed Morley
965aa7fea1 Backed out changeset 1bd3acba4c01 (bug 840902) 2013-02-14 11:46:42 +00:00
Robert O'Callahan
63c9bc56bf Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
--HG--
extra : rebase_source : 2236b75807639d54a39950d06cd18cfc952659f3
2013-02-15 00:12:27 +13:00
Robert O'Callahan
0b8b76fcca Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow
--HG--
extra : rebase_source : f90be285148c68fae306d09714f0fe642b490c45
2013-02-15 00:08:08 +13:00
Ed Morley
990b056b39 Merge mozilla-central to mozilla-inbound 2013-02-14 11:09:15 +00:00
Ed Morley
47e1a3a3ef Merge latest green inbound changeset to mozilla-central 2013-02-14 10:44:41 +00:00
Karl Tomlinson
411aaee57b Bug 834724 - Make reference non-native resizer scale to scroll bar width r=enn. 2013-02-14 05:24:34 -05:00
Joel Maher
365c9cf536 Bug 834724 - (textarea-rtl) reftest failures on ubuntu 12.04 ec2 vm machines in forms. r=karlt 2013-02-14 05:22:55 -05:00
Simon Montagu
d72bc3351d Tests for bug 801681, r=tests 2013-02-14 08:20:26 +02:00
Ryan VanderMeulen
daec4f1f33 Backed out changeset 394bbaa548e3 (bug 815591) for OSX reftest failures on a CLOSED TREE. 2013-02-13 22:10:09 -05:00
Cameron McCormack
07e7b3cba6 Bug 841207 - Handle all dominant-baseline values in SVG text layout. r=roc 2013-02-14 12:52:48 +11:00
Wan-Teh Chang
1f2d747981 Bug 807883: Reformat a function call. 2013-02-12 18:48:59 -08:00
Ryan VanderMeulen
1568f7d987 Backed out 12 changesets (bug 834732) for b2g bustage and OSX mochitest-1 crashes on a CLOSED TREE. 2013-02-12 20:54:48 -05:00
Jonathan Watt
be43770a1d Bug 840469 - Make animateMotion-mpath-pathLength-1.svg render in a failure state when its script and/or animations don't run. r=dholbert. 2013-02-12 23:29:41 +00:00
Bobby Holley
363a88b529 Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-13 00:22:26 +01:00
Nicholas Cameron
a1be3479be Bug 828531; fix scaling CSS pixels for animations; r=roc
--HG--
extra : rebase_source : 0e24bf2ee472a37b742efe3d142c2c25fef3e572
2013-02-13 10:00:54 +13:00
Robert O'Callahan
8b7ec02e58 Bug 815591. Don't build nsDisplayBackgroundColor if there is no background color and we're not going to do hit-testing. r=mattwoodrow 2012-11-28 01:50:09 +13:00
Cameron McCormack
c1703b8bb3 Bug 841174 - Handle ::first-letter on a combining mark in SVG text without crashing. r=jwatt
--HG--
extra : rebase_source : 9b0b38eccfe1f355996d8e4b4be5dcfc4e00b3be
2013-02-14 21:31:32 +11:00
Cameron McCormack
25ffd690f2 Bug 841180 - Avoid assertion when <text> consists only of undisplayed characters. r=jwatt
--HG--
extra : rebase_source : 9751925fdae80ad15168668633d26a72747f7442
2013-02-14 21:30:46 +11:00
Cameron McCormack
3ce48446e5 Bug 841225 - Do not create frames for HTML elements within a <tspan>. r=bzbarsky 2013-02-14 17:23:52 +11:00
Robert O'Callahan
ada178ae9a Bug 815591. Don't build nsDisplayBackgroundColor if there is no background color and we're not going to do hit-testing. r=mattwoodrow
--HG--
extra : rebase_source : 1e7055649266621e72cbd669949c3d30a32980a2
2012-11-28 01:50:09 +13:00
Ryan VanderMeulen
4eb7a2418e Backed out changeset a0db951f9f08 (bug 810726) for reftest asserts. 2013-02-13 17:37:18 -05:00
Scott Johnson
595d08e915 Bug 810726: Rework logic in nsColumnSetFrame for handling overflow to prevent infinite loop problems. [r=roc] 2013-02-13 14:39:40 -06:00
L. David Baron
7621b6de00 Bug 840367: Fix misnaming of keyword IDs in nsCSSKeywordList.h. r=heycam 2013-02-13 11:53:56 -08:00
L. David Baron
973546e2ad Bug 836329: Fix regression handling 'rem' units in media queries. r=bzbarsky
I confirmed that the added tests fail without the patch and pass with
the patch.
2013-02-13 11:53:56 -08:00
Boris Zbarsky
b809b28db6 Bug 833808 followup. Placate over-strict test in CLOSED TREE. 2013-02-13 11:32:40 -05:00