mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
Issue #1755 - Add smooth, high-quality and pixelated to CSS image-rendering
This commit is contained in:
parent
a10c0bceab
commit
be539ad8fc
2 changed files with 5 additions and 0 deletions
|
|
@ -305,6 +305,7 @@ CSS_KEY(hebrew, hebrew)
|
|||
CSS_KEY(help, help)
|
||||
CSS_KEY(hidden, hidden)
|
||||
CSS_KEY(hide, hide)
|
||||
CSS_KEY(high-quality, high_quality)
|
||||
CSS_KEY(highlight, highlight)
|
||||
CSS_KEY(highlighttext, highlighttext)
|
||||
CSS_KEY(historical-forms, historical_forms)
|
||||
|
|
@ -450,6 +451,7 @@ CSS_KEY(pc, pc)
|
|||
CSS_KEY(perspective, perspective)
|
||||
CSS_KEY(petite-caps, petite_caps)
|
||||
CSS_KEY(physical, physical)
|
||||
CSS_KEY(pixelated, pixelated)
|
||||
CSS_KEY(plaintext, plaintext)
|
||||
CSS_KEY(pointer, pointer)
|
||||
CSS_KEY(polygon, polygon)
|
||||
|
|
|
|||
|
|
@ -2398,8 +2398,11 @@ const KTableEntry nsCSSProps::kFilterFunctionKTable[] = {
|
|||
|
||||
const KTableEntry nsCSSProps::kImageRenderingKTable[] = {
|
||||
{ eCSSKeyword_auto, NS_STYLE_IMAGE_RENDERING_AUTO },
|
||||
{ eCSSKeyword_high_quality, NS_STYLE_IMAGE_RENDERING_OPTIMIZEQUALITY },
|
||||
{ eCSSKeyword_optimizespeed, NS_STYLE_IMAGE_RENDERING_OPTIMIZESPEED },
|
||||
{ eCSSKeyword_optimizequality, NS_STYLE_IMAGE_RENDERING_OPTIMIZEQUALITY },
|
||||
{ eCSSKeyword_pixelated, NS_STYLE_IMAGE_RENDERING_CRISPEDGES },
|
||||
{ eCSSKeyword_smooth, NS_STYLE_IMAGE_RENDERING_OPTIMIZESPEED },
|
||||
{ eCSSKeyword__moz_crisp_edges, NS_STYLE_IMAGE_RENDERING_CRISPEDGES },
|
||||
{ eCSSKeyword_UNKNOWN, -1 }
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue