Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
SVG破損事例の解説
Search
T. MOTOOKA
June 01, 2019
Technology
950
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
SVG破損事例の解説
ブラウザのバグを踏んでSVG画像が壊れてしまう事例を一つ紹介しています。
T. MOTOOKA
June 01, 2019
Transcript
15 slides
47(ը૾ ഁଛࣄྫͷղઆ CZ5.0500," 'SPOUFOE/BHPZB IUUQTGSPOUFOEEPPSLFFQFSKQFWFOUT
"CPVUUIF4QFBLFS w 5.0500,"!U@NPUPPLB w ٕज़ॻయ̑ ʮςΩετΤσΟλͱϒϥβͰॻ͚Δɾඳ͚Δ47(ʯ w ٕज़ॻయ̒ ʮྩͷ࣌ͷ1PTU4DSJQUೖʯ w
খناۀ͚ͷ$3.ͱ͔Λ࡞Δਓ ʢ1)1 +BWB FUDʣ w ΩʔϘʔυʮತܕΧʔιϧΩʔʯͷ+*4ྻ
࣍ w ഁଛ͢Δࣄྫ w Ͳ͏ͬͯݟ͚ͭͨͷ͔ʁ w τϥϒϧ͔Βԕ͔͟ΔͨΊʹ
ഁଛ͢Δࣄྫ
ഁଛ͢Δࣄྫ w 4BGBSJʢࠓ݄Լ०ϦϦʔεʣ·ͨͦΕҎ߱ w +BWB4DSJQUͰ47(ͷ<image>ཁૉͷಛఆͷૢ࡞Ͱ w xlink:hrefଐੑ͕ফ͑Δ w ͚ͩͲը૾ͷදࣔ͞Ε͍ͯΔ w
%0.USFF༰Λอଘͯ͠࠶ಡ·ͤΔͱը૾ݟ͑ͣ
ഁଛ͢Δࣄྫ σϞ
Ͳ͏ͬͯ ݟ͚ͭͨͷ͔ʁ
Ͳ͏ͬͯݟ͚ͭͨʁ w 47(&EJU IUUQTHJUIVCDPN47(&EJUTWHFEJU w Λ4BGBSJͰ։ൃऀίϯιʔϧΛݟͳ͕Βૢ࡞͍ͯ͠Δͱɺ ը૾͕ফ͑Δ͜ͱ͕͋ͬͨ w ݪҼΛ୳Δ͘ɺΞϚκϯͷԞͱඈΜͩʜ
ೋ୳ࡧ w BLBόΠφϦʔαʔν w ιʔτࡁΈͷྻͷத͔ΒతͷσʔλΛ୳͢ํ๏ w
ͱ͍͏ɺঢॱʹͳ͍ͬͯΔྻ w ճͷૢ࡞Ͱ߲͔͠ݟΕͳ͍ͱ͖ʹɺͲ͏୳͢ʁ w Ԡ༻ྫɿྸೋ୳ࡧ มΘͬͯʜ
खಈೋ୳ࡧ w ೋ୳ࡧͷԠ༻ͰόάݪҼΛ୳͢ w όάΛ౿ΉݪҼ͕ߦͷίʔυͰ͋Δͱ͍͏Ծઆ ʢ͚ͬ͜͏ࡶʣ w Ծઆ͕ຬͨ͞Εͳͯ͘ɺॿ͚ʹͳΔ w తͷίʔυ͚ͩίϝϯτΞτ͢Ε࠶ݱ͠ͳ͍ͣ
w ಈ͍͍ͯΔίʔυΛ͚ͩίϝϯτΞτͯ͠ʜͷ܁Γ ฦ͠ͰݪҼՕॴΛݟ͚ͭग़͢
ݪҼΛͲ͏ͬͯݟ͚ͭͨʁ खಈೋ୳ࡧͷ݁ՌɺݪҼ TransformListૢ࡞ͱ element.removeAttribute('style') ͷΈ߹Θͤͩͱ໌ ͦͷޙɺόάใࠂ͠·͕ͨ͠ɺݱ࣌Ͱ์ஔʜ
τϥϒϧ͔Β ԕ͔͟ΔͨΊʹ
τϥϒϧ͔Βԕ͔͟ΔͨΊʹ w ૣظݕग़ͷͨΊʹ w 8FCϒϥβͷόʔδϣϯΞοϓࣗମΛΔ w ԕ͔͟ΔͨΊʹ w ϚΠφʔͳػೳා͍ w
8FCϒϥβ։ൃऀͨͪͷςεταΠτͷؒೖΓ ʢ༗໊ͳαΠτʹͳΖ͏ʣ
·ͱΊ w 47(ը૾յΕΔ͜ͱ͕͋Δ w ϒϥβͷόάΛ౿Ή͜ͱ͕͋Δ w ೋ୳ࡧࢲͨͪΛॿ͚ͯ͘ΕΔ w 8FCϒϥβͷόʔδϣϯΞοϓʹҙ w
47(ͷϚΠφʔͳػೳΛ͏ͱ͖ҙ
More Decks by T. MOTOOKA
See All by T. MOTOOKA
業務を観察する
motooka
0
150
一意に定まらない話
motooka
0
260
自動化した処理を止めてしまった話
motooka
0
340
StoredFunctionのすゝめ
motooka
1
350
コメントは英語で書く!
motooka
1
160
TCPポート使い切り事件
motooka
1
550
SVG画像をPHPで生成しよう
motooka
0
1.6k
Working with Database Replications in CakePHP
motooka
1
2.3k
文字とPDFとPDFKit
motooka
2
2.6k
Other Decks in Technology
See All in Technology
クラウドでも使えるNetApp -現場目線での設計とクラウドバックアップの活用
ryutakondo
1
320
設計手法を「道具」として使いこなすために
a_suenami
7
1.7k
市販IoT機器や自作IoT機器とHomeAssistantを駆使して家の電気代をできる限り見える化する方法の考案
harutiro
0
420
20261119_AgentCore
takuyay0ne
1
220
AWS Client VPNの設定でハマったポイントとその過程での気づき
amarelo_n24
1
440
コーディングできない僕にBobが舞い降りた
shumpei3
0
200
専門家に使ってもらうAIプロダクトをつくる - 病院の医事課向けDPCコーディング支援システムの設計と評価
hagino3000
4
1k
OCI Artifact による自動運転タクシーに向けた OTA 基盤の構築
biwashi
1
300
Del vibe coding a un Desarrollo (agéntico) fiable
jcabot
0
220
認知の質も文化醸成も。数年取り組んで見えてきた技術広報のKPI設計 / Tech PR KPIs: Lessons on Awareness Quality and Culture After Several Years
bitkey
PRO
0
210
PHPで家庭用ゲーム機の専用コントローラーをMIDIデバイスとして扱ってみる
wind111
0
200
その修正で本当に速くなったのか? k6とOpenTelemetryで確かめる性能改善 / Performance review with k6 and OpenTelemetry
ymotongpoo
3
440
Featured
See All Featured
Unsuck your backbone
ammeep
672
58k
Faster Mobile Websites
deanohume
310
32k
Mobile First: as difficult as doing things right
swwweet
225
10k
Designing Powerful Visuals for Engaging Learning
tmiket
1
660
How STYLIGHT went responsive
nonsquared
100
6.4k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
690
Done Done
chrislema
187
17k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
680
How to build a perfect <img>
jonoalderson
1
6.3k
Building the Perfect Custom Keyboard
takai
2
970
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
370