Mats Palmgren
78d0f2c7ca
Bug 515530 - Remove nsHTMLContainerFrame. r=roc
2011-12-27 21:18:48 +01:00
Scott Johnson
1575ebf83f
Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron
2011-12-25 23:25:59 -06:00
Ms2ger
7d201023b3
Bug 709509 - Remove manual refcounting and QIing from nsBulletFrame::DidSetStyleContext; r=dbaron
2011-12-24 09:28:23 +01:00
Mats Palmgren
36ff8658d6
Bug 712937 - Null-check aRange. r=bzbarsky
2011-12-24 05:08:23 +01:00
Neil Rashbrook
27f9d856f2
Bug 669026 Fix caret movement when contenteditable areas are present r=ehsan
2011-12-24 00:11:30 +00:00
William Chen
e1ff790f8b
Bug 497995: Part 1 - Implement border-image revisions in latest css3-background spec. r=dbaron
...
--HG--
extra : rebase_source : 5a6cdac6a4b1353170f23f39dd2a209374e72531
2011-12-22 18:34:45 -05:00
Kyle Huey
53fc868531
Back out Bug 711895 for breaking l10n builds.
2011-12-29 15:45:51 -05:00
Jesse Ruderman
9fc91cc203
Bug 713610 - Crash test.
2011-12-29 14:21:00 +01:00
Mats Palmgren
01fbcef4b5
Bug 713610 - For a marker that is inactive we should guess false. r=roc
2011-12-29 14:21:00 +01:00
Jesse Ruderman
e9ecaa9502
Bug 700031 - Crash test.
2011-12-29 14:21:00 +01:00
Mats Palmgren
42ae031264
Bug 700031 - "ASSERTION: Can only call this on frames that have been reflowed" with too-deep frame tree. r=roc
2011-12-29 14:21:00 +01:00
Jeff Walden
e5f13d7b5f
Bug 704687 - Mark final classes as MOZ_FINAL, now that nsDerivedSafe no longer exists again. r=dbaron
...
--HG--
extra : rebase_source : f6a25c06275e4fbb2e69462118f242d380bdce03
2011-12-19 13:48:15 -05:00
Jeff Walden
62f48d8793
Bug 711647 - Add MOZ_DELETE to a bunch of deliberately-not-implemented methods across the tree. r=dbaron
...
--HG--
extra : rebase_source : 507006c0f099da6851b585d2062267d285978ad7
2011-12-16 14:42:07 -05:00
Nicholas Nethercote
24d2c81ee1
Bug 711908 - Fix a bunch of GCC warnings in layout. r=dbaron.
2011-12-19 19:46:39 -08:00
Robert O'Callahan
3c44cc55f3
Bug 697215. CanScrollWithBitBlit needs to return true for scrollframes inside replaced elements (i.e., iframes) that are honoring border-radius. r=mats
2011-12-20 14:31:20 +13:00
Markus Stange
7d099529c1
Bug 636564 - Make scroll frames deal correctly with scrollbars that overlay content. r=roc
2011-12-20 13:30:14 +01:00
Mats Palmgren
498185f3f0
Bug 619273 - Move the selection state bit from frames to content nodes. r=smaug
2011-12-20 10:15:41 +01:00
Scott Johnson
aef90f0f50
Backout changeset 93f523345fb6.
2011-12-20 00:01:32 -06:00
Scott Johnson
35fbd86079
Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron
2011-12-19 23:11:54 -06:00
Scott Johnson
578a640a52
Backed out changeset 74555805376d
2011-12-19 23:08:52 -06:00
Scott Johnson
d6fe638038
Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron
2011-12-19 22:25:19 -06:00
Robert O'Callahan
2abea56d9c
Backed out changeset 4a81c89bb466 for bug 697215
2011-12-20 16:03:45 +13:00
Robert O'Callahan
bdcd0d61d6
Bug 697215. CanScrollWithBitBlit needs to return true for scrollframes inside replaced elements (i.e., iframes) that are honoring border-radius. r=mats
2011-12-20 14:31:20 +13:00
Mats Palmgren
0d801fb5ed
Bug 690187 - Clip or suppress a marker if it makes the line empty. r=roc
2011-12-19 15:48:31 +01:00
Mats Palmgren
084e39e944
Bug 690187 - Make the edge analysis report back if text or atomic inline-level content is visible between the marker edges. r=roc
2011-12-19 15:48:31 +01:00
Mats Palmgren
a330ccd83d
Bug 690187 - Use a bit on each marker to track if it's active (only text-overflow:clip means inactive for now); check the flag rather setting the clip edge at infinity to disable ellipsing on a side. r=roc
2011-12-19 15:48:30 +01:00
Vivien Nicolas
d51296165e
Bug 707734 - Disable 'click and drag' text selection in nsFrame.cpp for touch enable devices r=roc
2011-12-19 10:11:16 +01:00
Nicholas Nethercote
0089711fa7
Bug 707865 - Convert nsTArray::SizeOf() to nsTArray::SizeOfExcludingThis(). r=jlebar.
...
--HG--
extra : rebase_source : d802d58bc7dedda2490878793923adc0ab55f779
2011-12-15 14:59:53 -08:00
Robert O'Callahan
763cffbfd2
Bug 702739. When a element has an active transform and the element's content (before being transformed) is no larger than the window, prerender its entire contents into layers when any of it is visible, so we don't have to rerender it and/or resize its layers as it moves into or out of view. r=mats
2011-12-19 10:57:35 +13:00
Jeff Walden
2e53b58879
Bug 711799 - Add parentheses to a bunch of && expressions nested within || expressions. r=dholbert
2011-12-18 01:00:47 -05:00
Matt Brubeck
f51deee1fa
Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures
2011-12-18 08:15:09 -08:00
Robert O'Callahan
0bd3f746f9
Back out fix for bug 697215 due to test failure
2011-12-18 23:04:11 +13:00
Robert O'Callahan
f9817b9053
Backed out changeset 026ec6345ae3 for bug 697215
2011-12-18 23:01:43 +13:00
Edwin Flores
6697ae002d
Bug 710521. Small refactor of gfxFont to separate drawing to paths and drawing strokes. r=roc
2011-12-18 21:53:03 +13:00
Robert O'Callahan
9c9db729e9
Bug 697215. CanScrollWithBitBlit needs to return true for scrollframes inside replaced elements (i.e., iframes) that are honoring border-radius. r=mats
2011-12-18 21:47:00 +13:00
Robert O'Callahan
7a9dc0adaf
Bug 702739. When a element has an active transform and the element's content (before being transformed) is no larger than the window, prerender its entire contents into layers when any of it is visible, so we don't have to rerender it and/or resize its layers as it moves into or out of view. r=mats
2011-12-18 21:46:44 +13:00
Matthew Schranz
3a92e01012
Bug 334573 - Renamed all references of nsPLDOMEvent to nsAsyncDOMEvent. r=sicking
...
--HG--
rename : content/events/public/nsPLDOMEvent.h => content/events/public/nsAsyncDOMEvent.h
rename : content/events/src/nsPLDOMEvent.cpp => content/events/src/nsAsyncDOMEvent.cpp
2011-12-17 01:02:05 -05:00
Masayuki Nakano
efe739e3f9
Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=smaug+ehsan+dolske+enndeakin
2011-12-16 22:38:45 +09:00
Masatoshi Kimura
4eadc7baec
Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug
2011-12-15 14:47:03 +00:00
Masayuki Nakano
5ff35fa5ae
backout 34b8fe028357
2011-12-08 16:42:45 +09:00
Masayuki Nakano
705962c806
Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=ehsan+smaug+enndeakin+dolske
2011-12-07 14:13:06 +09:00
Simon Montagu
1b14fe5a56
Don't assume that text is left-aligned when unicode-bidi=plaintext. Bug 698291, r=dbaron
2011-12-07 13:21:09 +02:00
Martin Stransky
bb061f9576
Bug 558742 - Comma doesn't work in print range, r=roc
2011-12-06 23:45:06 -05:00
Robert O'Callahan
c7557e53ab
Bug 699351. Part 3: Fix clipping to subdocument to not use subdocument root view bounds. r=tnikkel
2011-12-06 01:39:43 +13:00
Robert O'Callahan
cff2e2851c
Bug 699351. Part 2: fix assertion. r=tn
2011-12-06 01:39:14 +13:00
Robert O'Callahan
f68ef67da3
Bug 699351. Add nsIFrameLoader::clipSubdocument API to allow XUL <iframe> and <browser> to not clip the subdocument. r=tnikkel,sr=bzbarsky
2011-12-06 01:38:46 +13:00
Alexander Surkov
da6f38dbdb
Bug 706335 - Remove text accesible getting no text inside a preformatted area, r=marcoz, bz
2011-12-02 16:52:56 +08:00
Brad Lassey
7ebe9cd16d
Bug 687972 - backing out changesets b17ab862bbc1 and a6db0c6c94a3 r=orange
2011-11-30 22:59:00 -05:00
Robert O'Callahan
b4555e3e02
Bug 699351. Add nsIFrameLoader::clipSubdocument API to allow XUL <iframe> and <browser> to not clip the subdocument. r=tnikkel,sr=bzbarsky
2011-11-30 21:14:26 -05:00
Marco Bonardo
30d74a0fd5
Merge last green changeset from mozilla-inbound to mozilla-central
2011-11-28 14:10:59 +01:00
Olli Pettay
bf747ef244
Bug 698228 - [ImageMap] Don't use GetPrimaryFrame when not needed, r=mats
2011-11-27 21:27:10 +02:00
Masayuki Nakano
18fa2c4358
Bug 703186 Use system event listener for focus/blur event handling for <area> element r=smaug
2011-11-26 10:33:09 +09:00
David Bolter
899b2bf2a0
Bug 705179 - Implement initial canvas accessible and baseline test. r=surkov,ehsan
2011-11-25 11:58:34 -05:00
Nicholas Nethercote
6c6258e659
Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz.
2011-11-27 19:03:14 -08:00
L. David Baron
0e6b37ad63
Make other users of font metrics (other than MathML and XUL) honor font size inflation. (Bug 627842, patch 15) r=roc
...
This does not address users of font metrics in layout/mathml/ (for text
size and alignment issues) or in layout/xul (for text size and sizing of
listbox and tree widgets): see all the callers of GetFontMetricsFor*
in those directories.
2011-11-23 18:48:23 -08:00
L. David Baron
00c3df434c
Pass nsFontMetrics to the GetEllipsis function rather than computing them again. (Bug 627842, patch 14) r=matspal
2011-11-23 18:48:23 -08:00
L. David Baron
d765f6035f
Apply font size inflation to list bullets. (Bug 627842, patch 13) r=roc
...
Note that this doesn't do anything about the indentation of the list, so
for large inflation there may end up being overlap as a result.
2011-11-23 18:48:23 -08:00
L. David Baron
a825911696
Apply font size inflation to heights of inlines. (Bug 627842, patch 12) r=roc
2011-11-23 18:48:23 -08:00
L. David Baron
1e5ca9ce1a
Apply font size inflation to line heights. (Bug 627842, patch 11) r=roc
...
Since font size inflation applies to the text after style data
computation, we must separately apply this inflation to line heights.
2011-11-23 18:48:23 -08:00
L. David Baron
af0ddba78e
Remove the unused context parameter to MeasureCharClippedText. (Bug 627842, patch 10) r=roc
2011-11-23 18:48:23 -08:00
L. David Baron
93a3cc8415
Apply font size inflation to text. (Bug 627842, patch 9) r=roc
...
This applies the font size inflation to reflow and painting of text
frames. However, it does not (by design) apply to intrinsic width
computation, since the inflation is itself a function of the containers
width, which can depend on the intrinsic width.
2011-11-23 18:48:23 -08:00
L. David Baron
f1feb010c8
Pass block's reflow state to nsTextFrame::UnionAdditionalOverflow. (Bug 627842, patch 8) r=roc
2011-11-23 18:48:23 -08:00
L. David Baron
8b75e4b142
Use the text run's font group for the tab width instead of recomputing it from the frame. (Bug 627842, patch 7) r=roc
2011-11-23 18:48:23 -08:00
L. David Baron
4d84af3591
When font size inflation is enabled, horizontal resizes of blocks must cause a full dirty reflow. (Bug 627842, patch 5) r=bzbarsky
...
This change is sufficient because the places that set mHResize to true
other than InitResizeFlags and nsFrame::BoxReflow aren't a problem
because they're in table code whose goal is to force the reflow to
propagate down to the cell, and once we reach the cell we'll hit the
code we've added here.
2011-11-23 18:48:23 -08:00
L. David Baron
6ef87a5b92
Don't duplicate frame state bits, so that we can assert about NS_FRAME_IN_REFLOW during painting. (Bug 627842, patch 3.5) r=roc
2011-11-23 18:48:23 -08:00
L. David Baron
5a12e5a841
When reflowing a frame (such as text controls) that jumps from HTML layout into XUL layout and then jumps back to HTML on the child frame, link the parent reflow state chain correctly. (Bug 627842, patch 3) r=roc
2011-11-23 18:48:23 -08:00
L. David Baron
e94622c2dd
Set an NS_FRAME_IN_CONSTRAINED_HEIGHT state bit on frames that are in a constrained space. (Bug 627842, patch 2) r=roc
2011-11-23 18:48:23 -08:00
Jeff Walden
df2b7cbc5c
Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
...
--HG--
extra : rebase_source : d95a3b3e726f810f299314358ba8c5e23557698e
2011-11-20 22:21:16 -08:00
Jeff Walden
d2d9341b8a
Bug 704127 - Move C++ attribute support out of mozilla/Types.h and into mozilla/Attributes.h so that it can be used by code that's not yet compatible with the full mfbt experience. r=cjones
...
--HG--
extra : rebase_source : 7b653358a73f222c055f5139e33ca470475f88c9
2011-11-20 12:22:51 -08:00
Robert Longson
dd31b4edbf
Bug 696078 - Move filter attribute processing to frame classes. r=jwatt
...
--HG--
rename : layout/svg/base/src/nsSVGLeafFrame.cpp => layout/svg/base/src/SVGFELeafFrame.cpp
extra : rebase_source : 74ac4d84da2f0a99272e83590a9adc1dc8511fce
2011-11-19 17:53:52 +00:00
Neil Deakin
b15e9b4338
Bug 703260, part 1, remove view from eventstatemanager and presshell event handling, r=smaug,sr=roc
2011-11-21 12:53:20 -05:00
Ms2ger
09b5321d06
Bug 699228 - Remove unused variable in nsImageFrame::GetContentForEvent; r=smaug
2011-11-17 19:01:24 +01:00
Matt Woodrow
b35807086a
Bug 701656 - Make WrapPreserve3DList capable of walking through child display items for the same frame. r=roc
2011-11-17 16:45:41 +13:00
Matt Woodrow
3b5c7dbab9
Bug 702375 - Include the current frame bounds in preserve-3d overflow calculations. r=roc
2011-11-17 16:45:39 +13:00
Matt Woodrow
f67db2208c
Bug 700240 - Print contents of TextFrames. r=mats
2011-11-17 16:44:16 +13:00
Matt Woodrow
76656ee23d
Bug 700240 - Make display list debugging independent of DEBUG. r=khuey,roc
2011-11-17 16:44:16 +13:00
Mats Palmgren
b7ba5d69be
Bug 654002 - Stack overflow when destroying many frame continuations in different parents. r=roc
2011-11-17 11:54:08 +13:00
Phil Ringnalda
47ec399c96
Backout changesets c9abc8ef4626, d62512892555, 69f89ee5d08f, c511af7d8f58, 6a6a560a1492, ac0ec1183d19, 46669afabd15, 74f32abaa8c0, f197554cf989, 0a2405eb5b90, b48954598d7d, e0a82577259c, 0235d1541e58, 450f2557d3a2, e24d196602bf, 03c2ea0eeba3, 7aca4ef8e538, 11ec362e780b, 4b92a3b96446 (bug 627842) for Windows crashtest assertions and Android reftest failures
...
--HG--
extra : rebase_source : fc8946055314369bfba5038ded32afcb00bf134d
2011-11-14 22:12:31 -08:00
L. David Baron
898646a90e
Make other users of font metrics (other than MathML and XUL) honor font size inflation. (Bug 627842, patch 15) r=roc
...
This does not address users of font metrics in layout/mathml/ (for text
size and alignment issues) or in layout/xul (for text size and sizing of
listbox and tree widgets): see all the callers of GetFontMetricsFor*
in those directories.
2011-11-15 17:02:01 +13:00
L. David Baron
a4118a8e50
Pass nsFontMetrics to the GetEllipsis function rather than computing them again. (Bug 627842, patch 14) r=matspal
2011-11-15 17:02:01 +13:00
L. David Baron
9f5745cda2
Apply font size inflation to list bullets. (Bug 627842, patch 13) r=roc
...
Note that this doesn't do anything about the indentation of the list, so
for large inflation there may end up being overlap as a result.
2011-11-15 17:02:01 +13:00
L. David Baron
3145275a53
Apply font size inflation to heights of inlines. (Bug 627842, patch 12) r=roc
2011-11-15 17:02:01 +13:00
L. David Baron
17facb7829
Apply font size inflation to line heights. (Bug 627842, patch 11) r=roc
...
Since font size inflation applies to the text after style data
computation, we must separately apply this inflation to line heights.
2011-11-15 17:02:01 +13:00
L. David Baron
9523a6cd10
Remove the unused context parameter to MeasureCharClippedText. (Bug 627842, patch 10) r=roc
2011-11-15 17:02:01 +13:00
L. David Baron
37e8b4fd87
Apply font size inflation to text. (Bug 627842, patch 9) r=roc
...
This applies the font size inflation to reflow and painting of text
frames. However, it does not (by design) apply to intrinsic width
computation, since the inflation is itself a function of the containers
width, which can depend on the intrinsic width.
2011-11-15 17:02:01 +13:00
L. David Baron
e369aa454d
Pass block's reflow state to nsTextFrame::UnionAdditionalOverflow. (Bug 627842, patch 8) r=roc
2011-11-15 17:02:01 +13:00
L. David Baron
718291d781
Use the text run's font group for the tab width instead of recomputing it from the frame. (Bug 627842, patch 7) r=roc
2011-11-15 17:02:01 +13:00
L. David Baron
b5f3e65d17
When font size inflation is enabled, horizontal resizes of blocks must cause a full dirty reflow. (Bug 627842, patch 5) r=bzbarsky
...
This change is sufficient because the places that set mHResize to true
other than InitResizeFlags and nsFrame::BoxReflow aren't a problem
because they're in table code whose goal is to force the reflow to
propagate down to the cell, and once we reach the cell we'll hit the
code we've added here.
2011-11-15 17:02:00 +13:00
L. David Baron
f3569b9305
Don't duplicate frame state bits, so that we can assert about NS_FRAME_IN_REFLOW during painting. (Bug 627842, patch 3.5) r=roc
2011-11-15 17:02:00 +13:00
L. David Baron
01956a72c7
When reflowing a frame (such as text controls) that jumps from HTML layout into XUL layout and then jumps back to HTML on the child frame, link the parent reflow state chain correctly. (Bug 627842, patch 3) r=roc
2011-11-15 17:02:00 +13:00
L. David Baron
4aff8b6cdf
Set an NS_FRAME_IN_CONSTRAINED_HEIGHT state bit on frames that are in a constrained space. (Bug 627842, patch 2) r=roc
2011-11-15 17:02:00 +13:00
Michael Wu
5dd6a67845
Bug 694206 - Add Gonk (B2G) widget backend, r=cjones
2011-11-10 16:17:46 -08:00
Scott Johnson
a5309bb458
Bug 666446, Part 6/10 - Change nsBulletFrame to utilize refresh driver-based animations for performance improvements. [r=roc]
2011-11-09 13:39:16 -08:00
Scott Johnson
9dcf0ed14d
Bug 666446, Part 4/10 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats]
2011-11-09 13:39:16 -08:00
Scott Johnson
d4b112def1
Bug 666446, Part 1/10 - Add method to imgIContainer for notification of refresh driver events. [r=dholbert,joe][sr=mats]
2011-11-09 13:39:15 -08:00
Jeff Walden
b6eb396961
Bug 700910 - Implement MOZ_DELETE to encapsulate C++11 = delete syntax. r=cjones
...
--HG--
extra : rebase_source : 0fc4bc154923c84fd91e52be99fdac78f7c6dbc4
2011-11-08 19:19:44 -08:00
Boris Zbarsky
7764c01ec2
Bug 683712. Add a null-check to avoid bogus assumptions about blocks not being reflow roots. r=mats
2011-11-08 23:22:36 -05:00
Matt Woodrow
2c52d928ce
Bug 695610 - Move ImageContainer caching into imgIContainer. r=joe
2011-11-09 16:14:41 +13:00
Jeff Muizelaar
31a79df660
Bug 698107. layout: Return nsnull instead of false. r=bz
...
Caught by a clang warning.
--HG--
extra : rebase_source : 384a3451b7e54f8afb40f5e8a94000c00a54cc6d
2011-11-08 18:09:22 -05:00
Matt Woodrow
d15f42b7de
Bug 698590 - Make ConfigureLayer use DevPixels instead of AppPixels. r=roc
2011-11-08 16:57:55 +13:00
Robert O'Callahan
3efeb8c08d
Bug 696307. Floats in a different block to their placeholders should only be painted once. r=mats
2011-11-08 13:09:39 +13:00
Robert O'Callahan
6e8498d824
Bug 696307. Don't overwrite the aChild parameter of BuildDisplayListForChild. r=mats
2011-11-08 13:09:39 +13:00
Boris Zbarsky
015871ec14
Merge backout of bug 641341.
2011-11-07 00:27:17 -05:00
Boris Zbarsky
b4eb7eb0ff
Backed out changeset 0cd9ed297f73 (bug 641341) to fix bug 696175. r=roc
2011-11-07 00:25:56 -05:00
Ed Morley
7ea8e12caa
Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail
2011-11-05 18:35:59 +00:00
Rail Aliiev
ac65d0d88e
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Mats Palmgren
6b86a5076d
Bug 699383 - Remove unused 'aboveTextDecorations'. r=roc
2011-11-04 19:05:35 +01:00
Marco Bonardo
e73129ca6c
Merge mozilla-central to mozilla-inbound
2011-11-03 10:46:56 +01:00
Justin Lebar
c23ef933c9
Merge backout
2011-11-02 20:11:25 -04:00
Justin Lebar
81c40942af
Back out bug 666446 due to Talos regression.
2011-11-02 20:11:01 -04:00
Kyle Huey
d9fb132443
Merge m-i to m-c.
2011-11-02 08:24:41 -04:00
Josh Aas
0560dd1415
Bug 562442: Plugin crash fix (parent process). r=jmathies
2011-11-01 14:52:20 -04:00
Scott Johnson
9e3df1a897
Bug 666446, Part 6/10 - Change nsBulletFrame to utilize refresh driver-based animations for performance improvements. [r=roc]
2011-11-01 11:06:53 -04:00
Scott Johnson
ae7cdb99f9
Bug 666446, Part 4/10 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats]
2011-11-01 11:06:53 -04:00
Olli Pettay
a84f0536b8
Bug 698232 - s/IsInside/GetArea to simplify the code, r=mats
2011-10-30 21:51:19 +02:00
Olli Pettay
fca647ee86
Bug 694503 - image map doesn't get updated when map element is removed as part of container subtree, r=bz
2011-10-29 13:44:50 +03:00
Matthew Gregan
18f25ebd3f
Bug 697647 - VideoFrame's visible region should use the pre-transform size rather than the raw video buffer size. r=roc
2011-11-02 18:44:49 +13:00
Boris Zbarsky
5b68e3365d
Bug 641341. Speed up CalculateHypotheticalBox for the case of a block containing a bunch of lines but absolutely no in-flows anywhere. r=roc
2011-10-04 23:47:08 -04:00
Matt Woodrow
8abd263d40
Bug 691431 - Remove invalid assertion and NULL check childFrame in WrapPreserve3DList. r=roc
2011-10-04 14:23:04 +13:00
Jonathan Watt
66f54fe5a4
Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg.
2011-10-28 19:33:28 +01:00
Josh Aas
90b8667157
Bug 649079: Plugin crash fix (parent process). r=bz
2011-10-27 16:00:49 -04:00
Timothy Nikkel
e13ceed986
Bug 658005. Part 4. Remove nsIFrame::AreAncestorViewsVisible now that it is unused. r=roc
2011-10-26 18:57:55 -05:00
Timothy Nikkel
f10d3e436c
Bug 658005. Part 2. Add a frame visibility API that takes into account everything we need, and use it. r=roc
2011-10-26 18:57:55 -05:00
Robert O'Callahan
91cce0a191
Bug 696248. Flush pending onscroll events before painting. r=mats
2011-10-26 17:14:31 +13:00
Matt Woodrow
0d8c7a9eff
Bug 695275 - Fix conversion of ThebesLayers to ImageLayers. r=roc
2011-10-26 16:24:58 +13:00
Matt Woodrow
3043e9d166
Bug 695275 - Add CheckAndClearPaintedState to test painting. r=roc
2011-10-26 16:23:26 +13:00
Ehsan Akhgari
22b6c29d5d
Backout changeset be42bc18185a (bug 612128) because of bug 688423
2011-10-25 22:32:55 -04:00
Neil Deakin
42f99d3415
Bug 503879, remove nsIToolkit, make nsToolkit a singleton, remove it from some widget platforms, and don't pass it around when creating widgets, original patch by robarnold, r=roc
2011-10-25 11:05:32 -04:00
Robert O'Callahan
e721268792
Bug 696739. Treat inline fieldsets as pseudo-stacking-contexts. r=bz
2011-10-25 16:52:52 +13:00
Jesse Ruderman
b90b74eb61
Bug 675553 followup: remove tautologous assertions. r=ehsan
2011-10-24 16:21:09 -07:00
Daniel Holbert
a29dccaf37
Bug 693801: Remove redundant initialization for nsHTMLReflowState::mFlags.mIsTopOfPage. r=dbaron
2011-10-21 13:41:12 -07:00
Timothy Nikkel
5fd981457f
Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc
2011-10-21 12:45:32 -05:00
Marco Bonardo
cc836abae5
Backout 564144b09c4b, 049ba0a8823f, 608feeb4539c, d2e6a61338cc (Bug 695275) to investigate Android Crashtests permaorange.
2011-10-21 14:19:22 +02:00
Timothy Nikkel
f92f70e856
Backout 18f70ede04b0 (bug 694213).
2011-10-20 20:59:47 -05:00
Robert O'Callahan
2db71e8621
Bug 681867. text-overflow only needs to affect the scrolling behavior of the block container with text-overflow. r=mats
2011-10-21 14:41:36 +13:00
Matt Woodrow
b7d75fdb8a
Bug 695275 - Fix conversion of ThebesLayers to ImageLayers. r=roc
2011-10-21 14:22:19 +13:00
Matt Woodrow
00e692667f
Bug 695275 - Add nsIDOMWindowUtils::CheckAndClearPaintedState to test painting. r=roc
2011-10-21 14:21:40 +13:00
Timothy Nikkel
b6640cbaf7
Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc
2011-10-20 12:44:28 -05:00
Ehsan Akhgari
1b32875c44
Bug 656875 - Use the transformed dirty rectngle when building display list items for stacking context; r=roc
...
--HG--
extra : rebase_source : a98568046ab5e4b4382e380f0fd2d03be481edaa
2011-05-16 13:27:24 -04:00
Scott Johnson
5e210060ef
Bug 666446, Part 6/18 - Change nsBulletFrame to utilize refresh driver-based animations for performance improvements. [r=roc]
2011-10-03 13:39:05 -07:00
Scott Johnson
48e6539470
Bug 666446, Part 4/18 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats]
2011-10-03 13:39:05 -07:00
Matt Woodrow
ae2391fce2
Bug 691106 - Merge sequential nsDisplayTransforms and give them unique frame keys. r=roc
2011-10-03 17:02:25 +13:00
Josh Aas
e4a4cfce64
Bug 690834: Replace PR_TRUE and PR_FALSE with true and false in in plugin code outside of dom/plugins. r=roc
2011-10-01 11:43:07 -04:00
Ehsan Akhgari
6a2247f9f9
Merge the last green changeset of mozilla-inbound into mozilla-central
2011-09-30 10:13:25 -04:00
Ehsan Akhgari
3712f55a5e
Crashtest for bug 512749; r=roc
2011-09-30 10:11:51 -04:00
Ehsan Akhgari
4b619a80e2
Crashtest for bug 655462; r=roc
2011-09-30 10:11:39 -04:00
Matt Woodrow
14526049b5
Bug 689501 - Remove invalid assertion with 3d transforms. r=roc
2011-09-30 14:07:04 +13:00
Ehsan Akhgari
144367bb52
Crashtest for bug 660451; r=roc
2011-06-28 17:10:27 -04:00
Ehsan Akhgari
9436f4ec0c
Crashtest for bug 665853; r=bzbarsky
2011-06-22 20:50:50 -04:00
Ehsan Akhgari
cf84cd7774
Bug 659828 - Part 2: Avoid calling nsIFrame::GetType needlessly in nsHTMLReflowState; r=roc
2011-06-10 19:02:14 -04:00
Ehsan Akhgari
4b84fe41d5
Bug 659828 - Part 1: Apply table margins to the outer table frame instead of the inner table frame (also fixes bug 87277); r=dbaron
...
Outer table frames act as CSS2.1 table wrapper boxes. We used to lay them out
without taking their margins into the account, which meant that their width was
always equal to the available width. This breaks horizontal positioning of
absolutely positioned kids of a table frame.
The main purpose of this patch is to apply the margins of tables to their outer
frame, instead of the inner frame. This means that the inner table frame will
always have a zero margin, which means that a lot of the stuff which used to
rely on the fact that table margins are applied to the inner frame need to
change.
In particular, in order to get the computed margins of a table, we used to query
the inner table frame, and this patch corrects that. Also, when shrink wrapping
tables, we used to not take the margins of the inner table frame into account,
which is fixed by this patch too. nsBlockReflowState::
ComputeReplacedBlockOffsetsForFloats also needed to be changed to read the
margin values from the outer frame too.
Also, as part of this patch, we start to respect the CSS2.1 margin model for
captions on all sides. This means that in particular, the top/bottom margins on
the top-outside and bottom-outside captions will not be collapsed with the
top/bottom margins of the table, and that the margins of the caption element
contribute to the width and height of the outer table frame. The
427129-table-caption reftest has been modified to match this new behavior.
Another side effect of this bug is fixing bug 87277, and the reftests for that
bug are marked as passing in this patch.
2011-05-31 19:02:56 -04:00
Ehsan Akhgari
947ce13613
Bug 656130 - Part 2: More crashtests; r=roc
2011-06-28 17:10:29 -04:00
Ehsan Akhgari
941f2f10c3
Bug 656130 - Part 1: Make sure that the absolute containing frame to be returned is actually marked as such in the frame tree; r=bzbarsky
2011-05-11 19:53:34 -04:00
Ehsan Akhgari
2b29cd6201
Bug 10209 - Part 6: Implement the CSS "containing block" concept correctly as a binary relation, as opposed to a unary relation; r=bzbarsky
2011-05-12 00:04:30 -04:00
Ehsan Akhgari
59e7e67254
Bug 10209 - Part 5: Allow table elements to act as absolute positioning containers; r=roc
2011-05-09 20:36:10 -04:00
Ehsan Akhgari
461fab9117
Bug 10209 - Part 2: Implement the absolute positioning support for all frames; r=roc
2011-04-29 19:02:33 -04:00
Ehsan Akhgari
8a2bb21f0e
Bug 10209 - Part 1: Add an API for absolute container support for all frame types; r=roc
2011-04-27 19:41:43 -04:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Adam Dane [:hobophobe]
2c59e05b59
bug 591249 - event dragleave not properly dispatched if drag-and-drop aborted with ESC within iframe. r=smaug
2011-09-26 15:55:04 -05:00
Atul Aggarwal
55091f006e
Bug 653295 - Fixing warning of comparision between signed and unsigned integer expressions in nsFrameSetFrame.cpp. r=bz
2011-09-26 01:47:43 +05:30
Mats Palmgren
3342b2b5fe
Bug 191864 - Range and Selection broken with splitText() and normalize(). r=smaug
2011-09-24 02:56:38 +02:00
Ehsan Akhgari
69ee1b11ba
Backout changeset a72195ce0eaa (bug 612128) becasue of Fennec regressions
2011-09-22 18:09:44 -04:00
Ehsan Akhgari
944bae7a2e
Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
...
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host. Things like text controls which used to have that flag
previously will not have it any more. The flag would be set on their anonymous
div node instead. Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.
This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).
--HG--
extra : rebase_source : 37317b4d95c2ea957be81420583a98a24f0864ac
2010-11-16 15:45:49 -05:00
David Bolter
2d8544675a
Bug 680085 - Don't traverse dirty text frames when computing rendered text. r=roc
...
We now bail in GetRenderedText when we encounter dirty text frames. This should be okay since dirty text frames should be reflowed at some point and we'll refresh our accessible text cache. (relanding)
2011-10-19 09:05:18 -04:00
Marco Bonardo
ea7024ac8c
Merge last green changeset from mozilla-inbound to mozilla-central
2011-10-19 11:47:57 +02:00
Olli Pettay
2c2da3099f
Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
...
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Timothy Nikkel
677526acd7
Backout 8db8c9ce92c5 (bug 694213).
2011-10-18 00:41:10 -05:00
Timothy Nikkel
3b73722e00
Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc
2011-10-17 19:56:03 -05:00
Ehsan Akhgari
92064e6d3f
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
David Bolter
096eaa1a47
Bug 680085 - Don't traverse dirty text frames when computing rendered text. r=roc
...
We now bail in GetRenderedText when we encounter dirty text frames. This shouldm be okay since dirty text frames should be reflowed at some point and we'll refresh our accessible text cache.
2011-10-17 10:30:33 -04:00
David Bolter
d1d56d3152
Backout 783daf190579 (Bug 680085). Could be causing talos deviation.
2011-10-18 15:04:46 -04:00
L. David Baron
d65b4d17bd
Make NOISY_VERTICAL_ALIGN compile again. Not part of the build. No review.
2011-10-18 10:44:43 -07:00
Jeff Walden
b5e57820bf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Ed Morley
acef499a8d
Merge last green changeset of mozilla-inbound to mozilla-central
2011-10-15 12:19:29 +01:00
Ms2ger
ca6f7807e0
Bug 540433 - Remove nsIDocumentViewer; r=smaug
2011-10-15 09:33:26 +02:00
Matt Woodrow
50a7b8cca1
Bug 691864 - Recompute preserve-3d children overflow areas after all needed sizes are available. r=roc
2011-10-15 09:43:38 +13:00
Neil Deakin
90f42cf310
Bug 694224, remove appshell argument from various widget creation methods, r=roc
2011-10-14 09:06:39 -04:00
Jonathan Kew
b679a433d9
bug 671297 - add memory reporting for textRuns. r=roc,jlebar
2011-10-14 08:06:35 +01:00
Ehsan Akhgari
c16e2c2bdb
Bug 692919 - Need to check to make sure that the list returned from GetChildLists doesn't have duplicates; r=mats
2011-10-07 18:26:16 -04:00
Jeff Walden
d0532c3e95
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
0f30b277bf
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Mats Palmgren
c80a49e8ed
Bug 684266 - Suppress ellipsing when scrolling further isn't possible in that direction. r=roc
2011-10-12 18:20:46 +02:00
Mats Palmgren
9fc0be400e
Bug 684266 - Do ellipsing on the end-edge only when a single value was specified for text-overflow. r=bzbarsky r=roc
2011-10-12 18:20:46 +02:00
Mats Palmgren
a5eec1b2b6
Bug 688996 - "ASSERTION: Wrong root". r=smaug
2011-10-12 18:20:45 +02:00
Matt Woodrow
d474b430c9
Bug 693519 - Don't call GetHitDepthAtPoint if we didn't hit anything. r=roc
2011-10-12 16:16:05 +13:00
Simon Montagu
23fcb4824f
Implement unicode-bidi: -moz-plaintext in layout. Bug 662288, r=roc
2011-10-18 14:51:58 +02:00
Jonathan Kew
1b54ce9892
Bug 692752 - paint text-shadow after selection highlight background. r=roc
2011-10-08 17:27:14 +01:00
Scott Johnson
882053fa8e
Backout cset 9d3ac2d3da11 from bug 666446 while we sort out regressions
2011-10-07 00:25:36 -07:00
Scott Johnson
af599f0659
Backout cset 6cd4f2d8c2f9 from bug 666446 while we sort out regressions
2011-10-07 00:25:11 -07:00
Matt Woodrow
a22c98b737
Bug 684759 - Part 1 - Flatten out nsDisplayWrapLists when we are preserving 3d. r=roc
2011-10-07 10:21:44 +13:00
Ehsan Akhgari
c0e01ee34d
Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
...
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host. Things like text controls which used to have that flag
previously will not have it any more. The flag would be set on their anonymous
div node instead. Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.
This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).
2010-11-16 15:45:49 -05:00
Ed Morley
2d2ff83055
Merge last green changeset on mozilla-central to mozilla-inbound
2011-09-19 12:27:35 +01:00
Oleg Romashin
f6a3b24bf2
Bug 687392 - Use nearest filter for mobile video/plugin rendering. r=roc
2011-09-19 12:12:16 +01:00
Ed Morley
9a350ee255
Merge last green changeset on mozilla-inbound to mozilla-central
2011-09-18 20:23:17 +01:00
Ms2ger
19eb2d5178
Bug 687070 - Remove unused variable 'result' in nsDisplaySelectionOverlay::Paint; r=masayuki
2011-09-18 11:22:18 +02:00
Ms2ger
09c97f4a38
Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst
2011-09-18 11:22:17 +02:00
Ed Morley
9c6e88d2d6
Backout d4bdab069bbc (bug 630007) for qt build bustage and various oranges on other platforms
2011-09-17 00:27:55 +01:00
Doug Turner
c938f47ba6
Bug 630007 - Minimal support NPAPI on ANDROID. Pre-Honeycomb inproccess support only. r=josh.
2011-09-16 14:34:31 -07:00
Doug Turner
d6d932e4e7
Bug 630007 - Minimal support NPAPI on ANDROID. Pre-Honeycomb inproccess support only. r=josh.
2011-09-16 14:34:31 -07:00
Jonathan Kew
ee56ede693
bug 686497 - avoid passing excessively long wavy-underline path to cairo for stroking. r=roc
2011-09-16 20:23:29 +01:00
Mounir Lamouri
c3ab39edc6
Bug 675201 - Revert debug info given that the random orange is now fixed. r=me
2011-09-13 12:37:51 -07:00
Mats Palmgren
37e14b15b9
Bug 685154 - Cleanup nsIFrame::GetParentStyleContextFrame and related code. r=roc
...
Make nsIFrame::GetParentStyleContextFrame return the frame directly
instead of indirectly through an out parameter. Remove the unused
nsPresContext parameter.
2011-09-12 09:08:07 -07:00
Mounir Lamouri
790b0b9cf2
Bug 675201 - Attempt to wait for focus in the test before issuing keyboard events; r=ehsan
2011-09-11 11:21:09 -07:00
Masayuki Nakano
6c3d3da0c3
Bug 669028 part.13 layout should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc
2011-09-09 11:27:13 +09:00
Jonathan Watt
27228ad070
Bug 664130 - Rename isComposited to isVisuallyAtomic. r=roc.
2011-09-08 12:15:00 +01:00
Jonathan Watt
4793ec7a88
Bug 664130 - avoid creating empty nsAbsPosClipWrapper items. r=roc.
2011-09-08 12:15:00 +01:00
Jonathan Watt
3c8937dad1
Bug 664130 - Clarify some display list comments and code. r=roc.
2011-09-08 12:15:00 +01:00
Felix Fung
0bc71ca85d
Bug 577266 - Correct misspellings in source code
2011-09-06 17:20:35 -07:00
Daniel Holbert
7de09f5fb0
(no bug) Fix 2 typos within comments in nsIFrame.h DONTBUILD
2011-09-07 17:19:32 -07:00
Boris Zbarsky
73e9ae8488
Bug 683952. Speed up iterating over the continuations of the frame when scrolling to it. r=roc
2011-09-06 22:57:46 -04:00
Phil Ringnalda
8c67e09e0b
Back out fc945dec50bb and de06684dabc4 (bug 642551), 64c328251a24 (bug 683952) and 9d0d13998ebb (bug 684544) for orange on a CLOSED TREE
2011-09-06 21:42:54 -07:00
Boris Zbarsky
ffc9b17f74
Bug 683952. Speed up iterating over the continuations of the frame when scrolling to it. r=roc
2011-09-06 22:57:46 -04:00
Ms2ger
ccea776176
Bug 684807 - Annotate crashtest assertions on Android; r=philor
2011-09-06 18:35:43 +02:00
Matt Woodrow
e9aa70c516
Bug 682922 - Disable preserve-3d on scroll frames. r=roc
2011-09-05 10:25:35 +12:00
Daniel Holbert
749890cbb2
Bug 683702: In nsFrame teardown, clear the reference to me on my prev IB sibling (as well as on my next IB sibling). r=roc
2011-09-01 00:10:22 -07:00
Joshua Cranmer
51c1d51f63
Bug 681634 - Get m-c to build with static checking; fix verification scripts. r=taras
2011-08-29 17:02:22 -07:00
Matt Woodrow
5a40560039
Bug 505115 - Part 14b - Layout support for -moz-transform-style. r=roc
2011-08-27 12:01:46 +12:00
Mounir Lamouri
022bb0058f
Bug 675201 - Some debug outputs for intermittent orange investigation. rs=ehsan
2011-08-26 18:57:11 +02:00
Ed Morley
a2163dc998
Merge last green changeset of m-c to m-i
2011-08-26 10:26:46 +01:00
Boris Zbarsky
c4f581155c
Bug 682051. Optimize textframe to handle horizontal resizes of large runs of text better. r=roc
...
This change does two things:
1) Makes sure that we don't clear textruns when removing continuations due to
an earlier consideration expanding to contain all their text.
2) Remove continuations in chunks to work around the fact that blocks are
really bad at handling single frame removals.
2011-08-25 23:29:24 -04:00
Ed Morley
b53128285b
Merge last green changeset on m-i to m-c
2011-08-26 02:17:14 +01:00
Alfred Kayser ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
40a50219ea
Bug 537223 - Cleanup gfxColor.h; r=jrmuizel
2011-08-25 10:46:01 +02:00
Mats Palmgren
f1c56f2e22
Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
...
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Mats Palmgren
2c56109b0d
Bug 653649 - New way of getting child lists from frames. (part 3/5) r=roc
...
Update GetAdditionalChildListName consumers to use the new
child list iterator instead.
2011-08-24 22:54:29 +02:00
Mats Palmgren
605a290f3b
Bug 653649 - New way of getting child lists from frames. (part 2/5) r=roc sr=dbaron
...
Implement GetChildList(ChildListID) and GetChildLists(nsTArray<ChildList>*)
for various frame classes. Remove GetAdditionalChildListName(PRInt32)
methods and associated macros and list index constants.
2011-08-24 22:54:29 +02:00
Mats Palmgren
36202edfbd
Bug 653649 - New way of getting child lists from frames. (part 1/5) r=roc sr=dbaron
...
Add types to represent identifiers for frame child lists, sets of those
identifiers, and iterators over the child lists of a frame.
Define a enumeration type FrameChildListID representing all of the types
of child lists that frames have (each with a unique bit), a class
FrameChildListIDs for representing any set of FrameChildListID, and a
class FrameChildListIterator for iterating over all of the child lists
of a frame.
2011-08-24 22:54:29 +02:00
Josh Matthews
70bf98d8bc
Bug 679791 - Make nsIFrame::IsFocusable use heuristics that don't depend on the graphical display of scrollbars. r=roc
2011-08-17 13:55:57 -04:00
Boris Zbarsky
4ca385f433
Bug 680786. nsImageFrame::OnStartContainer should not assume that its intrinsic size has changed. r=roc
2011-08-23 17:03:02 -04:00
L. David Baron
c70deecad0
Remove quirks mode check that should have been removed when standards-mode and quirks-mode text-decorations were merged in bug 403524, changeset 83b2648ee442. (Bug 680505, patch 2) r=roc
...
This code is a little bit sketchy, but given that text-decoration
drawing is the same across modes we shouldn't have a quirks mode check
here (though there's a decent argument to be made that we shouldn't be
checking text decorations at all).
2011-08-20 21:35:56 -04:00
L. David Baron
056a511714
Remove overflow handling that should have been removed along with the standards-mode text-shadow of text-decoration handling in bug 403524, changeset 83b2648ee442. (Bug 680505, patch 1) r=roc
...
Since this affects only the *visual* overflow and not the *scrollable*
overflow, this patch should result in no behavior changes, since the
necessary visual overflow is added in
nsTextFrame::UnionAdditionalOverflow (since the text frame now draws the
shadows of text decorations, just like it draws text decorations
themselves).
2011-08-20 21:35:56 -04:00
Mats Palmgren
d0304072ba
Bug 677582 - Implement CSS3 text-overflow: <left> <right> in layout. r=roc
2011-08-20 22:41:39 +02:00
Oleg Romashin
6c7260ce7e
Bug 621228 - Make plugins listening presShell SetActive calls. r=jst
2011-08-18 22:08:38 +02:00
Matheus Kerschbaum
033d960531
Bug 568971 - Nuke nsIGlobalHistory3. r=mak sr=bz
2011-08-18 12:07:43 +02:00
L. David Baron
84b8b6bf64
Replace all uses of nsLayoutUtils::SetFontFromStyle with GetFontMetricsForFrame or GetFontMetricsForStyleContext and remove SetFontFromStyle. (Bug 678671, patch 2) r=roc
...
There was nothing wrong with SetFontFromStyle, except that it's just one
more API to think about (and one more API to audit and modify for font
inflation work to happen in bug 627842).
2011-08-14 10:08:04 -07:00
L. David Baron
d2b6891283
Switch lots of callers to using nsLayoutUtils::GetFontMetricsForFrame and nsLayoutUtils::GetFontMetricsForStyleContext. (Bug 678671, patch 1) r=roc
...
This changes a number of callers that were previously bypassing the use
of the correct language (with either no language or the charset-detected
language on the pres context via nsPresContext::GetMetricsFor) and/or
the correct user font set to pass the correct values, which should
improve the correctness of the behavior of whatever they were using the
fonts for, and also reduce the number of unique sets of font metrics
requested (which helps nsFontCache effectiveness).
2011-08-14 10:08:04 -07:00
Ms2ger
f1ce0d69e4
Merge m-c to m-i
2011-08-13 14:47:03 +02:00
Malini Das
c20b68638f
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only
2011-08-12 12:21:44 -04:00
Malini Das
ea71db787e
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only
2011-08-12 12:21:36 -04:00
Matt Brubeck
981b18c20b
Merge the last green changeset from mozilla-inbound to mozilla-central
2011-08-12 06:41:55 -07:00
Ms2ger
3fea5b3901
Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar
2011-08-11 15:29:58 +02:00
Ms2ger
4ca9cbc0f3
Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar
2011-08-11 15:29:50 +02:00
Robert O'Callahan
01293879f0
Bug 386444. Pass the correct current scroll position as the default value to GetCoordAttribute. r=dbaron
...
--HG--
extra : rebase_source : f0f11de318a050a1121669daaa5056089a5258b7
2011-08-12 10:44:29 +12:00
Vitor Menezes
cc47ff48ae
Bug 676538: Fix regression that caused text-decorations on inline *child* of block to draw at the offset for the block rather than the inline. r=dbaron
...
The FrameProperty representing baseline is set when a block defines
text-decorations and has vertically-aligned children, but we were
retrieving it whether the block or the vertically-aligned frame itself
defined the decorations. As a result, we "undo" the frame offset to get
the baseline from the child in that case.
2011-08-10 12:44:17 -07:00
Mats Palmgren
f70d28ee47
Bug 663375 - When text color is darkened, darken text-decoration color too. r=dbaron
2011-08-09 17:14:36 +02:00
David Zbarsky
feef9bcb83
Bug 672536 - Merge nsISelection2 into nsISelectionPrivate r=smaug
2011-08-07 16:17:00 -04:00
David Zbarsky
110e54925e
Bug 672536 - Merge nsISelection3 into nsISelection r=smaug
2011-08-07 16:18:00 -04:00
Daniel Holbert
64adad7c8f
Bug 679933: When a frame is destroyed, remove next special-sibling's pointer to it. r=roc
2011-08-25 01:31:11 -07:00
Jonas Sicking
743f1281ec
Bug 661297 Part 1: Remove Add/RemoveEventListenerByIID API. r=smaug
2011-08-08 11:26:26 -07:00
Vitor Menezes
1baff11dba
Bug 223764: Inlines inside inlines that draw text-decorations shouldn't alter the baseline. (r=dbaron)
...
We add a baseline field to nsInlineFrame and modify
nsLineLayout::BeginSpan to take a pointer to a baseline to update. This
also means that nsFirstLetterFrame no longer needs to update its own
baseline, and instead should just pass its own field along.
2011-08-03 11:30:58 -07:00
Vitor Menezes
f82cd17bcb
Bug 403524: Remove the standards-mode text-decoration code and use the quirks-mode code in all modes. r=dbaron
2011-08-03 11:30:58 -07:00