Xidorn Quan
51df4a4c00
Bug 1268342 part 3 - Treat orthogonal text frame as non-text frame when applying justification gap. r=jfkthame
...
Also correct the comment in ComputeJustification.
MozReview-Commit-ID: AWGGuupFLze
2016-05-30 09:24:18 +10:00
Xidorn Quan
7e26fd8f7c
Bug 1275059 - Simple fix for this bug. r=jfkthame
...
MozReview-Commit-ID: IVScO6eV6RP
2016-05-25 09:54:37 +10:00
CJKu
a1dab046b9
Bug 1269971 - Part 7. Clean out unused things created in bug 759568; r=jfkthame
...
MozReview-Commit-ID: 4spLj1fgthI
2016-05-13 00:09:39 +08:00
CJKu
f911bbb803
Bug 1269971 - Part 4. Add text stroke into text mask; r=jfkthame
...
MozReview-Commit-ID: IkaLMEX5q0T
2016-05-13 00:09:05 +08:00
CJKu
2ca6611b52
Bug 1269971 - Part 3. Handle selection text color and selection backgrond painting; r=jfkthame
...
MozReview-Commit-ID: CQmqiCmvygr
2016-05-13 00:08:53 +08:00
CJKu
b5b879d00c
Bug 1269971 - Part 2. From ClipBackgroundByText to GenerateAndPushTextMask; r=jfkthame,mtseng
...
MozReview-Commit-ID: 1PK2Huytq3i
2016-05-13 00:08:41 +08:00
CJKu
17721f6781
Bug 1269971 - Part 1. Rename IsForGenerateGlyphPath to IsForGenerateGlyphMask; r=jfkthame
...
MozReview-Commit-ID: 80DZsEAvXxB
2016-05-13 00:08:30 +08:00
Matt Woodrow
61200a9c5c
Bug 1243610 - Refactor UpdateOverflow to separate out local overflow from that contributed by descendants. r=dbaron
2016-05-04 12:27:43 +12:00
Aryeh Gregor
c00d4b886e
Bug 1193762 part 7 - Use .get() when assigning to variables; r=froydnj
...
Unlike when returning an nsCOMPtr in a ternary operator or passing to a
function, I used .get() here, since the operation is actually unsafe and
deserves to be marked explicitly.
2016-05-01 21:29:23 +03:00
CJKu
647da23a2f
Bug 1266948 - text-decoration-color: currentcolor should not use value from -webkit-text-fill-color; r=jfkthame
...
MozReview-Commit-ID: 2SfENZieSzQ
2016-04-26 23:56:44 +08:00
Jeremy Chen
57063f1344
Bug 1248708 - Part2.2: render -webkit-text-stroke property. r=jfkthame
2016-04-23 01:40:39 +08:00
Xidorn Quan
e3a772c73a
Bug 1097499 part 14 - Draw emphasis marks properly for text-combine-upright. r=jfkthame
...
MozReview-Commit-ID: 2bHWXxZDVGk
2016-04-22 09:18:41 +10:00
Xidorn Quan
0c1ee61704
Bug 1097499 part 13 - Draw decoration line properly for text-combine-upright. r=jfkthame
...
MozReview-Commit-ID: AymG09nvxh1
2016-04-22 09:18:41 +10:00
Xidorn Quan
c420f792b8
Bug 1097499 part 12 - Handle spacing sensibly for text-combine-upright. r=jfkthame
...
MozReview-Commit-ID: DSBMUcccfNi
2016-04-22 09:18:41 +10:00
Xidorn Quan
8f0254cf82
Bug 1097499 part 9 - Transform full-width characters to non-full-width correspondents for combined text. r=jfkthame
...
MozReview-Commit-ID: CXntBz9HPJu
2016-04-22 09:18:41 +10:00
Xidorn Quan
c6293269fd
Bug 1097499 part 5 - Layout text combine upright. r=jfkthame
...
MozReview-Commit-ID: 2HnXJ8bEvJH
2016-04-22 09:18:41 +10:00
Jonathan Kew
cbb738f072
Bug 1266391 - Introduce an enum class mozilla::unicode::Script, and use this instead of bare integers to specify script codes for better type checking. r=masayuki
2016-04-21 18:58:59 +01:00
Jonathan Kew
c005e4fdbc
Bug 1265648 followup - Use an array of UniquePtr<> for mTextRunsToDelete. r=mats
2016-04-20 10:55:15 +01:00
Jonathan Kew
453ebfaa9e
Bug 1265648 - Remove the global nsTextFrameTextRunCache, as it no longer serves any useful purpose. r=mats
2016-04-20 10:54:43 +01:00
Jonathan Kew
e6846dd2c6
Bug 1265459 - Replace uses of nsAutoPtr<gfxTextRun> with UniquePtr, and let MakeTextRun and similar methods return a UniquePtr. r=jrmuizel
2016-04-19 17:13:28 +01:00
Markus Stange
d33e47b3b2
Bug 1265568 - Don't require component alpha layers for text with -moz-osx-font-smoothing:grayscale. r=jfkthame,mattwoodrow
...
MozReview-Commit-ID: KujmkbgadPo
2016-04-18 19:41:50 -04:00
CJKu
3773790ca6
Bug 1261578 - Part 2. Correct text decoration color; r=jfkthame
...
MozReview-Commit-ID: LfZnmTnL5KY
2016-04-19 17:09:54 +08:00
CJKu
1e87bac705
Bug 1261578 - Part 1. Correct text color in selection range; r=jfkthame
...
MozReview-Commit-ID: 9gBWQ00MtNC
2016-04-19 17:09:42 +08:00
CJKu
0c1b7efb87
Bug 759568 - Part 3. Render text-selection beneath background image; r=jfkthame
...
MozReview-Commit-ID: 3VUGqyJOX8Q
2016-04-14 16:28:07 +08:00
CJKu
8eacf30983
Bug 759568 - Part 2. Render background-clip:text; r=jfkthame
...
MozReview-Commit-ID: HQHBe7OioWs
2016-04-14 16:28:07 +08:00
Carsten "Tomcat" Book
3b36687a1f
Backed out changeset 6a2e62e8c861 (bug 759568)
2016-04-14 08:57:41 +02:00
Carsten "Tomcat" Book
5efc53ba0f
Backed out changeset e9fc67d8b0fa (bug 759568)
2016-04-14 08:57:39 +02:00
CJKu
1583a9e5b9
Bug 759568 - Part 3. Render text-selection beneath background image; r=jfkthame
...
MozReview-Commit-ID: 3VUGqyJOX8Q
2016-04-14 12:45:38 +08:00
CJKu
f51f239496
Bug 759568 - Part 2. Render background-clip:text; r=jfkthame
...
MozReview-Commit-ID: HQHBe7OioWs
2016-04-14 12:45:38 +08:00
Mats Palmgren
1a83f57b72
Bug 645647 part 4 - Add an 'm' prefix to some members to follow our naming conventions. r=dholbert
2016-04-14 01:32:12 +02:00
Xidorn Quan
221348b151
Bug 1229743 part 2 - Fix up decoration rect computation for vertical-rl and sideways-lr. r=jfkthame
...
MozReview-Commit-ID: BjJ9jhmBy1X
2016-04-11 17:14:34 +10:00
Xidorn Quan
77173feab4
Bug 1229743 part 1 - Simplify text decoration handling code with lambda function and range-based for loop. r=jfkthame
...
MozReview-Commit-ID: 4q2tetC74Ab
2016-04-11 12:00:43 +10:00
Sebastian Hengst
e99225a2fb
Backed out changeset e64951d74d2a (bug 759568)
2016-04-12 17:55:44 +02:00
Sebastian Hengst
d5954388c7
Backed out changeset 21551ed8f1e1 (bug 759568)
2016-04-12 17:55:36 +02:00
CJKu
91f5f7c0ea
Bug 759568 - Part 3. Render text-selection beneath background image; r=jfkthame
...
MozReview-Commit-ID: 3VUGqyJOX8Q
2016-04-12 21:58:22 +08:00
CJKu
110d895ffb
Bug 759568 - Part 2. Render background-clip:text; r=jfkthame
...
MozReview-Commit-ID: HQHBe7OioWs
2016-04-12 21:58:22 +08:00
Xidorn Quan
a18591f997
Bug 1220438 - Correct baseline offset computation of text decoration for vertical-rl. r=jfkthame
...
MozReview-Commit-ID: 5VHapeQ6mBU
2016-04-01 16:29:31 +11:00
Jeremy Chen
8cf5419958
Bug 1261568 - part1: take -webkit-text-fill-color into consideration while
...
building displaylist for text frame. r=jfkthame
2016-04-05 12:35:44 +08:00
Mats Palmgren
38c3846d7d
Bug 1216001 - Fix a typo that eliminated a possible paint optimization. r=xidorn
2016-04-01 02:08:15 +02:00
Jeremy Chen
33899bc090
Bug 1247777 - Part2: implement -webkit-text-fill-color rendering. r=jfkthame
2016-03-25 15:54:50 +08:00
Xidorn Quan
3f99895d64
Bug 1258636 part 2 - Use struct to pass params for nsTextFrame::PaintDecorationLine. r=jfkthame
...
MozReview-Commit-ID: CICgNSPRrLM
2016-03-22 17:42:18 +08:00
Xidorn Quan
5c533c7216
Bug 1258636 part 1 - Use structs to pass params for decoration-related functions in nsCSSRendering. r=jfkthame
...
MozReview-Commit-ID: 5EJJVmM1pyK
2016-03-22 16:51:15 +08:00
Xidorn Quan
ba620a636b
Bug 1257121 part 4 - Use return value rather than out param to return font metrics. r=jfkthame
...
MozReview-Commit-ID: 6xrHYbgHGVd
2016-03-17 13:55:48 +08:00
Ting-Yu Lin
2b5db8a11e
Bug 1251519 Part 1 - Remove nsTextFrameBase as an nsFrame alias. r=mats
...
Bug 655877 Part 20 made this deliberately to let nsTextFrame
QueryFrame-able. https://hg.mozilla.org/mozilla-central/rev/d8c6025c0881
But other types like nsPlaceholderFrame or nsBulletFrame are also
implemented QureyFrame, which do not have this inheritance indirection.
I guess it was for historical reason, and can be removed safely.
MozReview-Commit-ID: CPeQvpKzEKh
2016-03-10 17:38:31 +08:00
Xidorn Quan
c51b6be554
Bug 1251995 part 7 - Use struct to pass params for nsTextFrame::Paint*Shadow functions. r=jfkthame
...
MozReview-Commit-ID: 5Wa9U0Ile4L
2016-03-08 15:56:18 +08:00
Xidorn Quan
9ab7e4d458
Bug 1251995 part 6 - Use struct to pass params for nsTextFrame::PaintText* functions. r=jfkthame
...
MozReview-Commit-ID: NTEUm8TY8N
2016-03-08 15:56:18 +08:00
Xidorn Quan
f72864bd15
Bug 1251995 part 5 - Unify units of dirty rect used for painting text frame. r=jfkthame
...
MozReview-Commit-ID: BK7j6y7lBV3
2016-03-08 15:56:18 +08:00
Xidorn Quan
94d079bb70
Bug 1251995 part 4 - Use struct to pass params for nsTextFrame::DrawText* functions. r=jfkthame
...
MozReview-Commit-ID: LYshkPDrqYl
2016-03-08 15:56:18 +08:00
Xidorn Quan
30cecb5900
Bug 1251995 part 3 - Use struct to pass params for gfxTextRun::Draw. r=jfkthame
...
MozReview-Commit-ID: HAqtS3VXPHH
2016-03-08 15:56:18 +08:00
Xidorn Quan
0547ab650a
Bug 1251995 part 2 - Add gfxTextRun::Range to replace parameter pairs like (offset, length) and (start, end). r=jfkthame
...
Although this makes some places more complicated, code should generally
be simpler and clearer. It could slightly improve performance on x64 for
functions with more than four parameters, since it makes more data be
passed via registers rather than the stack.
MozReview-Commit-ID: D0GM2Jyrr6W
2016-03-08 15:56:18 +08:00