Page MenuHomePhabricator

evas_vg_load_svg: Fix currentColor attribute inherit from a parent
Needs ReviewPublic

Authored by jsuya on Wed, Jan 12, 5:16 PM.

Details

Summary

Fix a problem that did not work even if the child uses currentColor
when color is declared in parent.

Test Plan

SVG Image

<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
  <g color="green">
    <rect width="50" height="50" fill="currentColor" />
    <circle r="25" cx="70" cy="70" stroke="currentColor" fill="none" stroke-width="5" />
  </g>
</svg>

Diff Detail

Repository
rEFL core/efl
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 17578
Build 11840: arc lint + arc unit
jsuya created this revision.Wed, Jan 12, 5:16 PM
jsuya requested review of this revision.Wed, Jan 12, 5:16 PM
jsuya updated this revision to Diff 31524.Wed, Jan 12, 5:23 PM

remove unnecessary code

jsuya updated this revision to Diff 31525.Wed, Jan 12, 9:22 PM

fix typo