Matheus Kerschbaum
7406ce377f
Bug 660762 - Remove --disable-mathml support. r=roc
2011-06-02 13:11:33 +02:00
Simon Montagu
dc7e814c0b
Don't use cached inflow length for empty frames. Bug 660416, r=roc
2011-05-30 18:19:13 +03:00
Daniel Holbert
052c758a4a
Merging cedar with mozilla-central.
2011-05-22 16:13:23 -07:00
Daniel Holbert
98ad7c6ba1
Bug 658834: Remove unused variable 'sc' from nsTextFrameThebes.cpp r=jfkthame
2011-05-22 09:53:46 -07:00
Simon Montagu
104d732e9a
Cache in-flow content length. Bug 566066, r=roc
2011-05-22 11:20:29 +03:00
Jonathan Kew
5d30b8b8b8
bug 655207 - don't read an uninitialized entry in the hyphenation array. r=roc
2011-05-09 10:55:19 +01:00
Jonathan Kew
916e9b8b24
bug 253317 - part 5 - support none/manual/auto values for -moz-hyphens in layout. r=roc
2011-05-04 12:29:56 +01:00
Dão Gottwald
ca1f9f0f94
Bug 451833 - Highlight the domain name in the address bar. r=roc,sdwilsh ui-r=faaborg
...
--HG--
extra : rebase_source : 1010ad246e94e271a0efaaca13356aff5d4b3bc3
2011-05-02 19:50:18 +02:00
Boris Zbarsky
dd94d998a3
Bug 650379. Add a new XPCOM timer type that is like TYPE_REPEATING_PRECISE but does not swamp the event queue if the callback takes longer than the timer interval to run. r=cjones, sr=brendan
...
This implements proposal 3 from bug 650379 comment 13. The main difference
between TYPE_REPEATING_PRECISE and TYPE_REPEATING_PRECISE_CAN_SKIP is to not
AddTimer the REPEATING_PRECISE_CAN_SKIP timer until after the callback has run;
this guarantees that no more timer events will be posted until after the
callback finishes executing. A secondary change is to make
REPEATING_PRECISE_CAN_SKIP timers advance their firing time to mDelay from when
PostTimerEvent is called, not mDelay from the old mTimeout. While this arguably
makes them less precise, the alternative is that if a timer is significantly
delayed for some reason (e.g. because the user puts the computer to sleep for a
while) it will then fire a whole bunch of times to "catch up" to where it's
supposed to be, advancing its firing time by mDelay at a time. That seems
undesirable.
An alternate approach would have been to readd the timer from inside
PostTimerEvent, but only if we're not in the middle of firing the timer. That
would allow more precise timers in the case when the callback is not taking too
long, but still handle gracefully the case when the callback is
slow. Unfortunately this falls down if something _else_ is hogging the main
thread event loop (e.g. some other timer has a slow callback, or whatever); in
that case we would post multiple events for the one precise timer while the
event-loop-hogging operation is running. So I don't think we should do that.
2011-04-28 19:33:52 -04:00
Simon Montagu
ece92e21ce
Back out bug 263359 and bug 624798 because of performance regressions (bug 650189)
2011-04-27 11:47:18 +03:00
Masayuki Nakano
cc0623b6e3
Bug 647421 -moz-text-decoration-color and -moz-text-decoration-style should be reset by text-decoration r=dbaron, sr=bzbarsky
2011-04-23 14:16:41 +09:00
Zack Weinberg
51864c09d8
Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
...
--HG--
extra : rebase_source : 5b7cebe68f71a760463e3522b159c7cde8a72f5e
2011-04-16 18:22:41 -07:00
Jonathan Kew
e7b2b9924c
bug 650499 - limit length covered by PropertyProvider to the text actually included in the textRun. r=roc
2011-04-19 08:51:31 +01:00
Robert O'Callahan
73b97e72c4
Bug 641426. Part 2: Remove a bunch of direct gfxRect::pos/size usage. r=joe
2011-04-19 15:07:21 +12:00
Zack Weinberg
52c99aabb7
Bug 174055, part 6: eliminate pointless nsresult return values.
2011-04-07 21:18:43 -07:00
Zack Weinberg
42ead75834
Bug 174055, part 4: mechanical fixups outside gfx.
2011-04-07 18:05:49 -07:00
Zack Weinberg
d6425e8bd1
Bug 174055, part 2: merge nsIThebesFontMetrics into nsIFontMetrics.
2011-04-07 18:05:25 -07:00
Zack Weinberg
299386f14c
Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h.
2011-04-07 18:04:41 -07:00
Jan Küchler
5ef6bf26cf
Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Simon Montagu
8ade1e195e
Make all nsBidiPresUtils methods static. Bug 624798, r=roc
2011-04-13 12:23:49 +03:00
Simon Montagu
d34ed4f099
Bug 263359 part 1.5: remove nsDirectionalFrame. r=roc
2011-04-11 10:59:30 +03:00
Simon Montagu
1b5ecfe658
Debugging code for Bidi resolution. NPOTDB
2011-04-11 10:59:29 +03:00
Jonathan Kew
05b8ef4302
bug 646983 - set the correct text length for the PropertyProvider. r=roc
2011-04-08 11:18:47 -07:00
Ehsan Akhgari
41f6aee99f
Merge cedar into mozilla-central
2011-03-31 14:11:37 -04:00
Jonathan Kew
687c9f81ff
bug 646561 - pass correct length to PropertyProvider in bidi case. r=roc
2011-03-31 09:47:01 +01:00
Jonathan Kew
1095b2347e
bug 418975 - support ­ when calculating min width for table and fieldset. r=roc. landing on the CLOSED TREE after dbaron went to bed :)
2011-03-24 15:22:37 +00:00
Masayuki Nakano
ea752bfc4b
Bug 59109 Part 3: Implement text-decoration-color and text-decoration-style rendering r=dbaron
2011-03-31 21:27:03 +09:00
Masayuki Nakano
a08a3877b3
Bug 59109 Part 2: Cleaning up current text decoration implementation r=dbaron
2011-03-31 21:26:49 +09:00
timeless@mozdev.org
ee5ce199c4
Bug 615908 comparison between signed and unsigned integer expressions in UnhookTextRunFromFrames
...
r=mats
2011-03-28 16:49:26 -04:00
Ehsan Akhgari
ec23591598
Back out bug 263359 because it has caused bug 645119
2011-03-25 18:15:29 -04:00
Simon Montagu
9914a030ec
Bug 263359 part 1.5: remove nsDirectionalFrame.
2011-03-24 11:28:44 +02:00
Simon Montagu
01aa874a4e
Debugging code for Bidi resolution. NPOTDB
2011-03-24 11:28:44 +02:00
Simon Montagu
f3795dcd86
Don't create or delete frames when nsTextFrame::SetLength is called from bidi resolution. Bug 635329, r+a=roc
2011-02-21 10:02:23 +02:00
Jonathan Kew
84c34c9615
bug 631035 part 2 - optimize storage of tab widths. r+a=roc
2011-02-18 09:07:12 +00:00
Ehsan Akhgari
dbd378e898
Bug 633044 - Special case empty text frames to position the caret at the correct position; r=roc a=blocking-final+
2011-02-15 01:11:18 -05:00
Jonathan Kew
c4c9f2d9e9
bug 499292 - hide fallback text for a short time while a font downloads. r=jdaggett a=beltzner
2011-01-05 21:48:48 +00:00
Ehsan Akhgari
ff5cb3429d
Bug 631406 - PeekOffsetNoAmount doesn't accept null as its second argument; r,a=roc
2011-02-03 19:52:46 -05:00
Mats Palmgren ext:(%2C%20Boris%20Zbarsky%20%3Cbzbarsky%40mit.edu%3E)
b3f06834af
Bug 597627 - Adding and removing lines in big textareas is really slow. r=roc a=blocking2.0:final
2011-01-28 22:08:41 +01:00
Alexander Surkov
7f72cfd7af
Bug 625652 - make sure accessible tree is correct when rendered text is changed, r=davidb, sr=roc, a=roc
2011-01-28 16:42:22 +08:00
Alexander Surkov
f1d1126c15
Bug 628922 - layout should use cached nsIAccessibilityService, r=davidb, sr=roc, a=roc
2011-01-28 12:38:14 +08:00
Jonathan Kew
13736eae4a
bug 621918 - part 1 - eliminate aDirtyRect parameter from gfxTextRun::Draw etc. r=roc a=roc
2011-01-11 11:17:00 +00:00
Robert O'Callahan
d886269e1d
Bug 602757. Part 5: Change HasText to GetComponentAlphaBounds. r=tnikkel,sr=dbaron,a=blocking
2011-01-03 14:48:09 +13:00
Robert O'Callahan
face759151
Bug 602757. Part 2: Detect display items over the transparent part of a window, and disable usage of component alpha (i.e., subpixel antialiasing) for those items. r=tnikkel,a=blocking
2011-01-03 14:48:09 +13:00
Jonathan Kew
a9323f7452
bug 332636 - fix editor's handling of surrogate-pair combining marks with backspace. r=ehsan a=roc
2010-12-16 14:17:41 -08:00
Jonathan Kew
6531a7f776
Backed out changeset 1958ebae93cc for causing mochitest orange. a=backout
2010-12-16 15:15:35 -08:00
Jonathan Kew
7a31c3e079
bug 332636 - fix editor's handling of surrogate-pair combining marks with backspace. r=ehsan a=roc
2010-12-16 14:17:41 -08:00
Jonathan Kew
9b5bc91574
bug 607160 - check text length computations. r=roc a=blocking2.0
2010-11-25 15:36:53 +00:00
L. David Baron
22c836286a
Don't propagate text-decoration in quirks-mode across inline-block, inline-table, and HTML table elements. Also, prepare quirks-mode text-decoration propagation code for use in standards mode (for bug 403524). (Bug 572713) r=roc a2.0=blocking
2010-11-21 15:50:28 -08:00
Simon Montagu
9c81a220df
Cache line breaks that are not in the current frame due to bidi resolution. Bug 595435, r=roc, a=blocker
2010-11-08 12:27:42 +02:00
Simon Montagu
6f2830fb64
Backout changeset 1dad59de62c4 due to test failures
2010-11-07 13:09:03 +02:00
Simon Montagu
00a68f9ce0
Cache line breaks that are not in the current frame due to bidi resolution. Bug 595435, r=roc, a=blocker
2010-11-07 11:56:25 +02:00
Ms2ger
d1816016c2
Bug 604078 - Two comparisons between signed and unsigned integers in nsTextFrame::PeekOffsetCharacter; r=ehsan a=bsmedberg
2010-11-04 16:43:01 -04:00
Ehsan Akhgari
90e76bbb1f
Bug 389321 - Part 3: Use a centralized algorithm for caret positioning; r=roc a=blocking-betaN+
2010-08-31 14:54:44 -04:00
Mats Palmgren
1c532ecf30
Make sure mLastFlowIndex is within bounds after truncating the mapped flow count. b=605340 r+a=roc
2010-10-21 17:30:35 +02:00
Mats Palmgren
a1abfe5921
Only keep the old textrun when the frame continuations from the assignment point forward are all empty. b=604843 r=roc a=blocking2.0:final
2010-10-21 17:30:34 +02:00
Mats Palmgren
4596c2cb71
Bug 571995. r=roc a=blocking2.0:final
2010-10-15 06:03:33 +02:00
Mats Palmgren
11ce93ed15
Backout bug 571995. a=backout
2010-10-12 18:40:44 +02:00
Matt Woodrow
47554e7736
Bug 594983. Look inside display sublists to determine whether there is text for the layer. r=roc,a=blocking
2010-10-11 13:58:20 +13:00
Mats Palmgren
88625a23ac
Just switch to the new textrun for empty text frames. b=571995 r=roc a=blocking2.0:final
2010-10-11 00:07:01 +02:00
Ehsan Akhgari
83a84791e8
Bug 602141 - Right arrow navigation broken on later contenteditable content on single line; r=bzbarsky a=blocking-final+
2010-10-08 15:49:47 -04:00
L. David Baron
a56a24a514
Change callers to use new nsIFrame overflow APIs. (Bug 542595, patch 20) r=roc a2.0=blocking2.0:beta8
2010-10-06 21:25:47 -07:00
L. David Baron
40d60928c6
Fix miscellaneous reflow methods to use new overflow area APIs. (Bug 542595, patch 19) r=roc a2.0=blocking2.0:beta8
2010-10-06 21:25:46 -07:00
L. David Baron
bf7624301d
Now that overflow areas are split, change nsIFrame::ComputeTightBounds to use visual overflow. While it really only needs to include frame bounds, glyph bounds, and text decorations, since glyph bounds are not part of scrollable overflow, it must use visual overflow. (Bug 542595, patch 15) r=roc a2.0=blocking2.0:beta8
2010-10-06 21:25:46 -07:00
L. David Baron
dfd177a552
Make overflow from text frames be visual overflow only, and not scrollable. (Bug 542595, patch 8) r=roc a2.0=blocking2.0:beta8
2010-10-06 21:25:45 -07:00
Ehsan Akhgari
4c3df3f153
Bug 597333 - Crash [@ gfxTextRun::GetChar][@ nsIFrame::PeekOffset(nsPeekOffsetStruct*) ] when navigating inside a textarea; r=roc a=blocking-final+
...
--HG--
extra : rebase_source : 43e6b1193c5707313e06a4d0afa21bca03ab297b
2010-09-20 17:33:58 -04:00
Ehsan Akhgari
90ab413a2e
Bug 240933 - Part 13: Consider text frame continuations containing only newlines editable; r,a=roc
...
--HG--
extra : rebase_source : e9f3001867e7992513484b92993a5d6a222273f6
2010-08-13 18:58:26 -04:00
Ehsan Akhgari
42c1926629
Bug 240933 - Part 3.1: Position the selection before the terminating newline when clicking to the right of the line; r=roc a=dbaron
...
--HG--
extra : rebase_source : 93b34b04837da161ebedd900bbe8edc002c934ad
2010-07-16 17:34:36 -04:00
Ehsan Akhgari
8c0a628bb6
Bug 240933 - Part 3: Correct the caret movement throughout textareas (and pre elements with caret browsing turned on as well); r=roc a=dbaron
...
--HG--
extra : rebase_source : 9f015607bc84a11137ab11ba47c14e98c20e3970
2010-07-13 21:49:16 -04:00
Ehsan Akhgari
7b654288bf
Back out bug 240933 and bug 590554 because of reftest failure on Win7 and also bug 593211
2010-09-02 19:54:23 -04:00
Ehsan Akhgari
15e706b2f1
Bug 240933 - Part 13: Consider text frame continuations containing only newlines editable; r,a=roc
...
--HG--
extra : rebase_source : b66535705ec25cd4dca7378424b78cc3bef94e46
2010-08-13 18:58:26 -04:00
Ehsan Akhgari
2c6440bc8d
Bug 240933 - Part 3.1: Position the selection before the terminating newline when clicking to the right of the line; r=roc a=dbaron
...
--HG--
extra : rebase_source : 51ab2d6caf2b8827cf2e1eb88e5034d75268f658
2010-07-16 17:34:36 -04:00
Ehsan Akhgari
8b538d8a3a
Bug 240933 - Part 3: Correct the caret movement throughout textareas (and pre elements with caret browsing turned on as well); r=roc a=dbaron
...
--HG--
extra : rebase_source : 198f679bb5cea82b710c921576fa44c59f77aa23
2010-07-13 21:49:16 -04:00
Boris Zbarsky
49fc0489a4
Bug 580167 part 1. Create an nsTextFrame::ReflowText that doesn't need a reflow state. r=dbaron
2010-08-25 14:54:46 -04:00
Robert O'Callahan
79b8d06302
Bug 581222. Extend gfxAlphaBlur to support "spread radii". r=vlad
...
--HG--
extra : rebase_source : e644ae08007e52c524c3237d336441f1413f846b
2010-08-23 21:30:07 +12:00
Robert O'Callahan
812e6204ae
Bug 584282. Use nsDisplayItem::ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame, wherever possible. r=tnikkel,a=dbaron
...
--HG--
extra : rebase_source : 730ba8640cb37bd8484ff069b5d6fd46d9bc3e84
2010-08-13 22:01:58 +12:00
Robert O'Callahan
a581cd6197
Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron
...
--HG--
extra : rebase_source : 496cbde7c495eb8872c3d0ffc0ca4c57c2a6a777
2010-08-13 22:01:13 +12:00
Robert O'Callahan
06241c1e45
Bug 585817. Part 2: Change nsIPresShell::CreateRenderingContext to GetReferenceRenderingContext, that uses the shared 1x1 surface, and use it all over the place. r=mats,sr=dbaron
2010-08-20 14:29:01 -05:00
Chris Jones
921ef38edc
Backed out changeset 7b3726c3a580
2010-08-19 19:04:08 -05:00
Robert O'Callahan
210184cb84
Bug 585817. Part 2: Change nsIPresShell::CreateRenderingContext to GetReferenceRenderingContext, that uses the shared 1x1 surface, and use it all over the place. r=mats,sr=dbaron
2010-08-19 13:49:35 -05:00
Ehsan Akhgari
c07d2babfd
Bug 580869 - Cache the frame found in nsTextFrame::GetChildFrameContainingOffset; r=roc approval2.0=dbaron
...
--HG--
extra : rebase_source : 3bdd49e0e039c212b5faa8d12bcbdd785da267a4
2010-08-10 11:16:17 -04:00
Kyle Huey
cc25e38cd5
Bug 575043: Remove internal uses of nsICaseConversion. r=smontagu sr=roc
...
--HG--
extra : rebase_source : f95ad3f21a95e354324e1524c378cad7146f3241
2010-07-29 12:22:16 -07:00
Boris Zbarsky
b90e9bf3ec
Bug 441669. Look for our flow by starting at the cached location and moving out, instead of always searching in one direction and then in the other. r=roc
2010-07-19 11:55:19 -04:00
Michael Ventnor
8139bee929
Bug 564991. Part 3: Create unique nsDisplayItem types for every single display item. r=tnikkel
2010-07-16 09:07:49 +12:00
Alexander Surkov
1b2bbba526
Bug 573706 - make frame based accessible creation more pellucid, r=davidb, sr=roc
2010-06-28 21:02:03 +09:00
Henri Sivonen
2250d7a27c
Bug 534071 - Treat carriage returns as tab-like whitespace in layout. r=roc.
2010-05-12 10:57:12 +03:00
Daniel Holbert
c76f173bb3
Bug 571059: Update debugging printfs to treat nsFrameState objects as 64-bit & fix build warnings. r=dbaron
2010-06-10 11:26:57 -07:00
L. David Baron
d574dd00ce
Use macros for frame state so that it's easy to change the size and easier to read the constants. (Bug 570837) r=roc
2010-06-08 22:28:14 -07:00
Simon Montagu
3c6e0389f9
Back out change from bug 399850 that causes an assertion to fire
2010-05-12 23:34:42 -07:00
Simon Montagu
813eaf92c8
Don't split frames in bidi resolution that have the same resolved directionality but different character types. Bug 399850, r=ehsan, roc
2010-05-10 23:14:05 -07:00
Boris Zbarsky
f7d7c95ec6
Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst
2010-05-05 14:18:05 -04:00
Boris Zbarsky
4d2b5f13cc
Bug 562688 part 11. Eliminate eELEMENT usage in layout/generic. r=dbaron
2010-04-30 09:12:06 -04:00
David Baron
945430ee19
Bug 502301 - fix C++0x narrowing conversion inside {} compilation errors [r=benjamin]
2010-04-20 10:41:21 +02:00
Michael Ventnor
3602bd64b6
Bug 544099 - Highly optimise -moz-box-shadow for common cases by allowing layout to specify an area where blurring is not needed r=roc,joe
...
--HG--
rename : gfx/thebes/src/gfxBlur.cpp => gfx/src/thebes/utils/gfxBlur.cpp
rename : gfx/thebes/public/gfxBlur.h => gfx/src/thebes/utils/gfxBlur.h
extra : rebase_source : d7ad7a1ee2ac9e25937133dba95f0f8d7347d612
2010-04-18 13:13:10 +10:00
Masayuki Nakano
20fe8ca239
Bug 556694 Selection color isn't reverted when input field is specified only background-color r=dbaron
2010-04-08 21:44:57 +09:00
Felipe Gomes
960464193b
Bug 489127 - nodesFromRect required for better usability on mobile devices (part 1+2) [r=roc]
2010-04-07 20:31:26 -04:00
Masayuki Nakano
ec0f459b5b
Bug 183646 ::-moz-selection does not work in form controls (input[type=text], input[type=password], textarea) r=dbaron
2010-04-07 11:10:54 +09:00
Masayuki Nakano
dfa558e2f4
Bug 552493 Hang on select-all in large textbox (which repeats if I unfocus & focus Firefox) r=roc
2010-04-06 18:01:53 +09:00
L. David Baron
78c4bdc4bd
Use the appropriate color based on visitedness for the 'background-color' property. (Bug 147777) r=zweinberg
2010-04-02 18:58:26 -07:00
L. David Baron
b5cbbc06ce
Use the appropriate color based on visitedness for the 'color' property. (Bug 147777) r=roc
2010-04-02 18:58:25 -07:00
Masayuki Nakano
553922eee1
Bug 554822 Caret should refer the actual text color instead of the value of CSS color property r=roc
2010-04-01 11:35:48 +09:00
Masayuki Nakano
313a3bd180
Bug 554822 backout the previous patch
2010-04-01 02:31:06 +09:00
Masayuki Nakano
55bbbc0a73
Bug 554822 Caret should refer the actual text color instead of the value of CSS color property r=roc
2010-04-01 02:12:43 +09:00
Robert O'Callahan
9a2ed61b34
Bug 551660. Switch layout code from using nsPropertyTable to FramePropertyTable. r=mats,sr=dbaron
2010-03-29 14:46:55 +13:00
Robert O'Callahan
84aaebcc5c
Bug 549184. Track 'has nonempty content been placed on this line yet' separately from 'has nonempty, non-span content been placed on this line yet'. r=dbaron
...
--HG--
extra : rebase_source : fe9318ed5143fe42107a55dfdcb6c0c8fee3dae6
2010-03-10 13:14:14 +13:00
Jonas Sicking
c4106f7f22
Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap
2010-03-08 07:45:00 -08:00
Robert O'Callahan
481b4ae05c
Bug 499862. Need to flush out linebreaker stuff even if there are no mapped flows. r=smontagu
2010-02-23 23:23:45 -08:00
Robert O'Callahan
ec27a13556
Bug 546530. Bound search for previous cluster start. r=smontagu
...
--HG--
extra : rebase_source : 5b7bca2777b5cfc5495fc9d339eaf0fbe1ff9a64
2010-02-19 14:30:43 +13:00
Jonathan Kew
e9d0f828e0
Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats
2010-02-24 09:57:44 -08:00
Serge Gautherie
271756558e
Backed out changeset: b3d6a8724029 of
...
Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
which breaks comm-central.
2010-02-04 20:55:10 +01:00
Michael Ventnor
55ebf80987
Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
...
r=roc.
2010-02-04 19:15:03 +01:00
Robert O'Callahan
c4012b90b5
Bug 539720. Initialize cachedNewlineOffset. r=bz
...
--HG--
extra : rebase_source : 09b3b720d054061b7879225c747f8565a8e3ba20
2010-02-02 12:17:17 +13:00
Simon Montagu
03a690bc2e
Allow justification space to be added after non-breaking-spaces. Bug 541189, r=roc
2010-01-26 23:30:13 -08:00
Robert O'Callahan
064c199276
Bug 532998. Cache the offset of the next newline character in preformatted text. r=smontagu
2010-01-07 13:55:09 +13:00
fantasai
1ffb0c06ef
Bug 508473 part III: Pass destruction root to frame destruction methods r=bz sr=roc
2009-12-24 00:21:15 -05:00
Olli Pettay
2f4c5ea761
Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
...
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Boris Zbarsky
99027aa785
Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron
2009-12-11 02:37:40 -05:00
Boris Zbarsky
e9f228c7d5
Backing out bug 525608 and bug 525952
2009-12-10 18:28:08 -08:00
Boris Zbarsky
0a82b262db
Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron
2009-12-10 14:36:05 -08:00
Robert O'Callahan
40e5fe01a0
Bug 523468. Make sure we reflow the next line when content is pushed or pulled from an inline frame. r=dbaron
2009-10-27 14:43:56 +13:00
Boris Zbarsky
5215a681c7
Bug 525295. Rename nsStyleContext::GetPseudoType to GetPseudo. r=dbaron
2009-10-29 17:17:56 -04:00
Robert O'Callahan
28cab8ef6c
Backed out changeset 9f5177a978ac
2009-10-27 21:46:18 +13:00
Robert O'Callahan
d6f331fed2
Bug 523468. Force next line to be reflowed whenever we push or pull children from an inline frame. r=dbaron
2009-10-27 14:43:56 +13:00
Robert O'Callahan
63962ec51f
Bug 504524. Don't reflow the line after an incomplete frame unless we really need to. r=bz
2009-10-19 01:01:40 -07:00
Robert O'Callahan
d56dfa741e
Bug 513082. Instead of passing aDirtyRect to nsDisplayItem::Paint, have nsDisplayList::OptimizeVisibility (renamed to ComputeVisibility) compute the intersection of the visible region with the bounds of each display item and store the result in the item's mVisibleRect. This lets us do less work to paint display items which have a small intersection with the visible region but a large intersection with the bounding-box of the visible region. r=dbaron
...
--HG--
extra : rebase_source : 76db4b87ef9e5a6e9de7677edc08c26e2cbc462e
2009-09-07 12:35:14 +12:00
Geoff Lankow
bd900ff5fd
Bug 517882: Implement a -moz-tab-size CSS property that specifies the number of spaces between tab stops in preformatted text. r=roc, dbaron
2009-09-26 13:23:47 -07:00
Michael Ventnor
7b53709720
Bug 512988 - Text-shadow blur and underline messes up with padding-left. r+sr=roc
2009-09-18 20:18:35 +02:00
Mats Palmgren
90fe0851f3
Bug 233463, patch 4 - Make nsIFrame::mNextSibling private. r=bzbarsky
2009-09-18 13:09:36 +02:00
Mats Palmgren
948203eb7d
Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc
2009-09-16 17:01:36 +02:00
Zack Weinberg
17eb5a6efc
Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc
2009-09-12 17:49:24 +01:00
Dão Gottwald
09fc562917
Backed out changeset 1e6d52401dd2
2009-09-04 15:32:17 +02:00
Michael Ventnor
6b82353959
Bug 512988 - Text-shadow blur and underline messes up with padding-left. r+sr=roc
2009-09-04 14:24:26 +02:00
Robert O'Callahan
cb2741ab96
Bug 503657. Treat a newline character as a valid boundary for line breaking analysis. r=smontagu
...
--HG--
extra : rebase_source : f64e4629aca2c394f7331c342ad33ac84223c429
2009-09-02 14:46:48 +12:00
Robert O'Callahan
d70f216852
Bug 503399. Never count trimmed trailing whitespace as whitespace that should received justification spacing; in this case we were using doing that when computing caret position. r=smontagu
...
--HG--
extra : rebase_source : ce1488d66893565e6f338d128ff1393c456c93f6
2009-09-02 14:46:48 +12:00
Boris Zbarsky
86994c8fce
Bug 478504. Need to clear textruns in bidi continuations too. r=roc
2009-09-02 11:32:01 -04:00
fantasai
973c4e83aa
Bug 492627 - Remove Placeholder Continuations [Part IV: Switch float layout APIs to pass float directly, without placeholder] r=roc
2009-08-31 11:25:35 -07:00
Masayuki Nakano
08277877f6
Bug 486735 Verdana.ttf gets a very thick underline with spelling errors r=dbaron+jboriss
2009-08-20 23:33:06 +09:00
Masayuki Nakano
112ccb1451
Bug 509956 Bogus code in nsTextFrame::IsFloatingFirstLetterChild r=dbaron
2009-08-18 13:46:47 +09:00
timeless@mozdev.org
324cf1b775
Bug 506251 BuildTextRunsScanner::AssignTextRun does not use lastContent
...
r=roc
2009-08-12 11:49:54 +02:00
Robert O'Callahan
55c6dd3fc2
Backed out changeset 77787eb64629
2009-08-05 17:33:17 +12:00
Robert O'Callahan
89ffdc2e22
Bug 504524. Don't reflow the line after an incomplete frame unless we really need to. r=bz
...
--HG--
extra : rebase_source : 0e294beea796a58b16273fbfb64d777a8f40e225
2009-08-05 14:38:52 +12:00
Robert O'Callahan
cba39f15c7
Bug 504524. Change signature of nsIFrame: of nsIFrame::CharacterDataChanged to support passing of the full CharacterDataChangeInfo struct. r=bz
...
--HG--
extra : rebase_source : cdab9444f579d6b93e142ad8681152ecd180f818
2009-08-05 13:38:10 +12:00
Robert O'Callahan
82ace80f84
Bug 492309. Remove useless gfxTextRuNnFactory flags. r=vlad
...
--HG--
extra : rebase_source : 4cdbc37f404c07f509adbfb581c662187813bc4a
2009-07-30 14:59:41 +12:00
Robert O'Callahan
4ef62fb0ed
Bug 371839. Remove ParentDisablesSelection, which is effectively unused. r=bzbarsky
...
--HG--
extra : rebase_source : 920c501f033e026709ec15792cadbb2f24462a0a
2009-07-27 10:06:30 +12:00
Robert O'Callahan
14dbcb0874
Bug 371839. Simplify SetSelected signature and semantics, and reimplement it in nsTextFrame much more efficiently. r=bzbarsky
...
--HG--
extra : rebase_source : 18c390e3ebd09de82b1a23699c56b741f928ca37
2009-07-27 10:05:41 +12:00
Robert O'Callahan
301eb1e0b2
Bug 371839. Assertions that scan all continuations should bail out if the continuation chain is too long, so they don't add O(N) to algorithmic complexity. r=bzbarsky
2009-07-10 14:03:03 +12:00
Masayuki Nakano
adfdc27a90
Bug 486778 Spell checker's wavy line is sometimes drawn through misspelled words r+sr=roc
2009-07-01 01:52:16 +09:00
Robert O'Callahan
62129c7d37
Bug 500556. Split FRAMETREE_DEPENDS_ON_CHARS bit into NS_CREATE_FRAME_IF_NON_WHITESPACE and NS_REFRAME_IF_WHITESPACE so we don't need to reframe for every data change. r+sr=bzbarsky
...
--HG--
extra : rebase_source : 580aed3273c16e8402434a6f32d18dca542f29c0
2009-06-29 10:48:24 +12:00
Timothy Nikkel
1a1fb2ac05
Bug 458651. Text hidden with 'blink' should still receive events. r+sr=roc
...
--HG--
extra : rebase_source : cfde922d71be51795c3d3fa398faead1d00e2e55
2009-06-24 21:09:26 +12:00
Robert O'Callahan
dc397ecf0d
Bug 491960. Only reflow due to selection if we did or will have overflowing selection decorations. r=dbaron
2009-05-15 15:09:49 +12:00
Masayuki Nakano
feee8b464b
Bug 492233 [IMM32] Reimplement IME mouse handling r=VYV03354+roc, sr=roc
2009-05-15 09:46:24 +09:00