Commit Graph

28 Commits

Author SHA1 Message Date
Robert Longson
85906637ee Bug 849688 - Crash with getStartPositionOfChar when argument is out of range. r=dholbert 2013-03-13 14:22:46 +00:00
Robert Longson
24a5aeed56 Bug 847139 - Crash with caretPositionFromPoint. r=dholbert 2013-03-06 12:11:34 +00:00
Robert Longson
4ed0f42e95 Bug 842909 - Fix GetNumberOfChars so that it always creates a TextNodeCorrespondenceProperty. r=dholbert 2013-03-04 12:04:23 +00:00
Robert Longson
e4d879d59a Bug 843072 - Crash with getExtentOfChar(0) if there is no text. r=dholbert 2013-03-02 13:28:04 +00:00
Cameron McCormack
40c0aaf1f5 Bug 842119. r=longsonr 2013-02-19 13:50:05 +11:00
Cameron McCormack
eaf0d544da Bug 842138 - Propagate rotate="" values even if rotations were specified on a parent element. r=roc 2013-02-19 10:44:26 +11:00
Cameron McCormack
ecb671c48d Bug 842016 - Make pointer-events not affect whether SVG text renders. r=longsonr 2013-02-17 19:28:29 +11:00
Cameron McCormack
db354f0639 Bug 842009 - Ignore <tref> elements when computing SVG text layout. r=longsonr 2013-02-17 19:28:09 +11:00
Cameron McCormack
42bb404e3f Backed out changeset e4831a8b042c for lack of proper "r=". 2013-02-17 19:27:10 +11:00
Cameron McCormack
0d2d68f7dc Backed out changeset cbf7a8294eae for lack of proper "r=". 2013-02-17 19:26:09 +11:00
Cameron McCormack
ed11774457 Bug 842016 - Make pointer-events not affect whether SVG text renders. r? 2013-02-17 19:22:44 +11:00
Cameron McCormack
2e04a13297 Bug 842009 - Ignore <tref> elements when computing SVG text layout. r? 2013-02-17 19:21:57 +11:00
L. David Baron
822b2ca3bc Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
Except for the changes in:
  layout/generic/nsIFrame.h (part)
  layout/style/nsComputedDOMStyle.h (all)
  layout/style/nsRuleNode.cpp (part)
  layout/style/nsStyleContext.cpp (part)
  layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Cameron McCormack
a5d156f4b3 Bug 841812 - Avoid crashing when changing attributes on an invalidly parented <textPath>. r=roc 2013-02-16 20:16:11 +11:00
Robert O'Callahan
d9665619b9 Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
--HG--
extra : rebase_source : de498510bf8d85d9b0b2fab0137ef3be01c9adfa
2013-02-15 00:12:27 +13: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
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
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
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
07e7b3cba6 Bug 841207 - Handle all dominant-baseline values in SVG text layout. r=roc 2013-02-14 12:52:48 +11:00
Cameron McCormack
92026cc4ae Bug 840272 - Avoid asserting and crashing if SVG text frames are painted before they are reflowed. r=roc 2013-02-12 15:21:58 +11:00
Cameron McCormack
f78e8bacaa Bug 655877 - Part 46: Paint SVG glyphs with new SVG text frame. r=roc,jwatt 2013-02-11 17:22:20 +11:00
Cameron McCormack
afc9fe4f91 Bug 655877 - Part 45: Fixes for DLBI. r=roc,jwatt 2013-02-11 17:22:20 +11:00
Cameron McCormack
8e315018d4 Bug 655877 - Part 41b: Make SVG text selectable with the mouse. r=roc,jwatt 2013-02-11 17:22:18 +11:00
Cameron McCormack
389c5addd3 Bug 655877 - Part 35: Ensure SVG text is updated when attributes on text content children change. r=jwatt 2013-02-11 17:22:17 +11:00
Cameron McCormack
8e28ffb003 Bug 655877 - Part 31b: New frame class nsSVGTextFrame2 for SVG text using CSS block/inline/text frames for layout. r=jwatt 2013-02-11 17:22:16 +11:00