diff options
author | Moonchild <mcwerewolf@wolfbeast.com> | 2019-02-03 08:34:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-03 08:34:43 +0100 |
commit | 4874970d329943e08bcca7c61e7b7d2bc0f7c9d3 (patch) | |
tree | 4d1df04790cc8c785141e8dd8ffea9e6da5a0c02 /layout/generic/nsTextFrame.cpp | |
parent | fa311a4cae5ea526e848adc4f49c6aa0b700702c (diff) | |
parent | b241a84d884293e1ce49a79c75e362c02c0899f9 (diff) | |
download | UXP-4874970d329943e08bcca7c61e7b7d2bc0f7c9d3.tar UXP-4874970d329943e08bcca7c61e7b7d2bc0f7c9d3.tar.gz UXP-4874970d329943e08bcca7c61e7b7d2bc0f7c9d3.tar.lz UXP-4874970d329943e08bcca7c61e7b7d2bc0f7c9d3.tar.xz UXP-4874970d329943e08bcca7c61e7b7d2bc0f7c9d3.zip |
Merge pull request #961 from kn-yami/issue908
implement missing parts of CSS mask
Diffstat (limited to 'layout/generic/nsTextFrame.cpp')
-rw-r--r-- | layout/generic/nsTextFrame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layout/generic/nsTextFrame.cpp b/layout/generic/nsTextFrame.cpp index fa31443fd..3288d3f2e 100644 --- a/layout/generic/nsTextFrame.cpp +++ b/layout/generic/nsTextFrame.cpp @@ -6715,7 +6715,7 @@ ShouldDrawSelection(const nsIFrame* aFrame) const nsStyleBackground* bg = aFrame->StyleContext()->StyleBackground(); const nsStyleImageLayers& layers = bg->mImage; NS_FOR_VISIBLE_IMAGE_LAYERS_BACK_TO_FRONT(i, layers) { - if (layers.mLayers[i].mClip == NS_STYLE_IMAGELAYER_CLIP_TEXT) { + if (layers.mLayers[i].mClip == StyleGeometryBox::Text) { return false; } } |