Polyfill for shadowRoot.styleSheets in Safari (#11267)
Polyfill for shadowRoot.styleSheets in Safari (#11267)

* Polyfill for shadowRoot.styleSheets in Safari

* Use array instead of adding an index operator

widespace-os/amphtml,luciancrasovan/amphtml,yandex-pcode/amphtml,engtat/amphtml,prateekbh/amphtml,tlong2/amphtml,zhucl/amphtml,luciancrasovan/amphtml,cory-work/amphtml,mhc-gh/amphtml,zhouyx/amphtml,keithwrightbos/amphtml,koshka/amphtml,rajkumarsrk/amphtml,chaveznvg/amphtml,zhouyx/amphtml,smartadserver/amphtml,cvializ/amphtml,src-code/amphtml,erwinmombay/amphtml,kixer-com/amphtml,cory-work/amphtml,jridgewell/amphtml,nexxtv/amphtml,aghassemi/amphtml,media-net/amphtml,tlong2/amphtml,Gregable/amphtml,jmadler/amphtml,donttrustthisbot/amphtml,jpettitt/amphtml,danielrozenberg/amphtml,BenDz/amphtml,techhtml/amphtml,gumgum/amphtml,dotandads/amphtml,media-net/amphtml,yieldbot/amphtml,jpettitt/amphtml,camelburrito/amphtml,dotandads/amphtml,alanorozco/amphtml,rajkumarsrk/amphtml,sriramkrish85/amphtml,aghassemi/amphtml,engtat/amphtml,yieldmo/amphtml,sharethrough/amphtml,chaveznvg/amphtml,ADITION/amphtml,zhucl/amphtml,BenDz/amphtml,jmadler/amphtml,shawnbuso/amphtml,alanorozco/amphtml,erwinmombay/amphtml,comScore/amphtml,cvializ/amphtml,gumgum/amphtml,dotandads/amphtml,kamtschatka/amphtml,donttrustthisbot/amphtml,taboola/amphtml,clawr/amphtml,prateekbh/amphtml,voyagegroup/amphtml,jridgewell/amphtml,pedjoni8/amphtml,gumgum/amphtml,powdercloud/amphtml,engtat/amphtml,adup-tech/amphtml,yieldmo/amphtml,smartadserver/amphtml,honeybadgerdontcare/amphtml,honeybadgerdontcare/amphtml,nexxtv/amphtml,zhucl/amphtml,Gregable/amphtml,luciancrasovan/amphtml,lannka/amphtml,jridgewell/amphtml,chaveznvg/amphtml,camelburrito/amphtml,tlong2/amphtml,laterpay/amphtml,jpettitt/amphtml,techhtml/amphtml,rsimha-amp/amphtml,shawnbuso/amphtml,zhucl/amphtml,media-net/amphtml,yieldmo/amphtml,taboola/amphtml,adup-tech/amphtml,dotandads/amphtml,rsimha-amp/amphtml,donttrustthisbot/amphtml,nexxtv/amphtml,vmarteev/amphtml,laterpay/amphtml,taboola/amphtml,kixer-com/amphtml,dotandads/amphtml,zhucl/amphtml,camelburrito/amphtml,rsimha-amp/amphtml,sebastianbenz/amphtml,donttrustthisbot/amphtml,comScore/amphtml,aghassemi/amphtml,shawnbuso/amphtml,yieldbot/amphtml,danielrozenberg/amphtml,vmarteev/amphtml,voyagegroup/amphtml,rajkumarsrk/amphtml,camelburrito/amphtml,arealit/amphtml,Gregable/amphtml,alanorozco/amphtml,bpaduch/amphtml,src-code/amphtml,keithwrightbos/amphtml,keithwrightbos/amphtml,prateekbh/amphtml,yieldmo/amphtml,arealit/amphtml,clawr/amphtml,erwinmombay/amphtml,smartadserver/amphtml,voyagegroup/amphtml,clawr/amphtml,jridgewell/amphtml,Gregable/amphtml,comScore/amphtml,sebastianbenz/amphtml,widespace-os/amphtml,widespace-os/amphtml,powdercloud/amphtml,vmarteev/amphtml,clawr/amphtml,jpettitt/amphtml,luciancrasovan/amphtml,engtat/amphtml,cvializ/amphtml,sebastianbenz/amphtml,yieldbot/amphtml,mhc-gh/amphtml,adiant/amphtml,zhangsu/amphtml,kamtschatka/amphtml,jmadler/amphtml,honeybadgerdontcare/amphtml,techhtml/amphtml,yandex-pcode/amphtml,lannka/amphtml,camelburrito/amphtml,camelburrito/amphtml,cory-work/amphtml,zhangsu/amphtml,gumgum/amphtml,BenDz/amphtml,arealit/amphtml,sharethrough/amphtml,zhangsu/amphtml,arealit/amphtml,pedjoni8/amphtml,sebastianbenz/amphtml,yandex-pcode/amphtml,erwinmombay/amphtml,sharethrough/amphtml,techhtml/amphtml,clawr/amphtml,zhouyx/amphtml,rsimha-amp/amphtml,sriramkrish85/amphtml,pedjoni8/amphtml,widespace-os/amphtml,koshka/amphtml,powdercloud/amphtml,yieldbot/amphtml,taboola/amphtml,vmarteev/amphtml,prateekbh/amphtml,ampproject/amphtml,koshka/amphtml,yandex-pcode/amphtml,honeybadgerdontcare/amphtml,media-net/amphtml,sriramkrish85/amphtml,nexxtv/amphtml,zhucl/amphtml,zhouyx/amphtml,voyagegroup/amphtml,BenDz/amphtml,danielrozenberg/amphtml,kamtschatka/amphtml,kixer-com/amphtml,BenDz/amphtml,yieldbot/amphtml,jpettitt/amphtml,laterpay/amphtml,clawr/amphtml,aghassemi/amphtml,jpettitt/amphtml,rajkumarsrk/amphtml,zhangsu/amphtml,voyagegroup/amphtml,comScore/amphtml,gumgum/amphtml,pedjoni8/amphtml,clawr/amphtml,adiant/amphtml,alanorozco/amphtml,cory-work/amphtml,danielrozenberg/amphtml,donttrustthisbot/amphtml,ampproject/amphtml,Gregable/amphtml,alanorozco/amphtml,bpaduch/amphtml,bpaduch/amphtml,sriramkrish85/amphtml,gumgum/amphtml,voyagegroup/amphtml,widespace-os/amphtml,rsimha-amp/amphtml,kixer-com/amphtml,ampproject/amphtml,koshka/amphtml,danielrozenberg/amphtml,comScore/amphtml,luciancrasovan/amphtml,arealit/amphtml,cvializ/amphtml,lannka/amphtml,media-net/amphtml,jmadler/amphtml,cvializ/amphtml,rajkumarsrk/amphtml,techhtml/amphtml,danielrozenberg/amphtml,erwinmombay/amphtml,bpaduch/amphtml,keithwrightbos/amphtml,sriramkrish85/amphtml,rsimha-amp/amphtml,widespace-os/amphtml,pedjoni8/amphtml,jmadler/amphtml,keithwrightbos/amphtml,kamtschatka/amphtml,engtat/amphtml,comScore/amphtml,bpaduch/amphtml,adup-tech/amphtml,kamtschatka/amphtml,chaveznvg/amphtml,media-net/amphtml,zhucl/amphtml,Gregable/amphtml,cory-work/amphtml,jridgewell/amphtml,ampproject/amphtml,Gregable/amphtml,ampproject/amphtml,zhouyx/amphtml,techhtml/amphtml,adiant/amphtml,kixer-com/amphtml,mhc-gh/amphtml,nexxtv/amphtml,adup-tech/amphtml,arealit/amphtml,chaveznvg/amphtml,shawnbuso/amphtml,yandex-pcode/amphtml,koshka/amphtml,donttrustthisbot/amphtml,jmadler/amphtml,adiant/amphtml,shawnbuso/amphtml,taboola/amphtml,lannka/amphtml,yieldbot/amphtml,erwinmombay/amphtml,dotandads/amphtml,media-net/amphtml,luciancrasovan/amphtml,powdercloud/amphtml,honeybadgerdontcare/amphtml,tlong2/amphtml,camelburrito/amphtml,bpaduch/amphtml,pedjoni8/amphtml,yandex-pcode/amphtml,yandex-pcode/amphtml,powdercloud/amphtml,shawnbuso/amphtml,alanorozco/amphtml,kixer-com/amphtml,adup-tech/amphtml,adiant/amphtml,engtat/amphtml,lannka/amphtml,src-code/amphtml,lannka/amphtml,ampproject/amphtml,zhangsu/amphtml,kixer-com/amphtml,danielrozenberg/amphtml,danielrozenberg/amphtml,ampproject/amphtml,cory-work/amphtml,lannka/amphtml,yieldmo/amphtml,voyagegroup/amphtml,jpettitt/amphtml,keithwrightbos/amphtml,smartadserver/amphtml,taboola/amphtml,rajkumarsrk/amphtml,vmarteev/amphtml,adiant/amphtml,mhc-gh/amphtml,smartadserver/amphtml,sebastianbenz/amphtml,tlong2/amphtml,laterpay/amphtml,sharethrough/amphtml,zhouyx/amphtml,rajkumarsrk/amphtml,ADITION/amphtml,mhc-gh/amphtml,laterpay/amphtml,sriramkrish85/amphtml,smartadserver/amphtml,ampproject/amphtml,zhangsu/amphtml,vmarteev/amphtml,nexxtv/amphtml,media-net/amphtml,sebastianbenz/amphtml,sharethrough/amphtml,laterpay/amphtml,jridgewell/amphtml,mhc-gh/amphtml,adup-tech/amphtml,aghassemi/amphtml,alanorozco/amphtml,aghassemi/amphtml,keithwrightbos/amphtml,mhc-gh/amphtml,Gregable/amphtml,src-code/amphtml,cvializ/amphtml,prateekbh/amphtml,ADITION/amphtml,ADITION/amphtml,honeybadgerdontcare/amphtml,jridgewell/amphtml,luciancrasovan/amphtml,BenDz/amphtml,vmarteev/amphtml,prateekbh/amphtml,arealit/amphtml,rsimha-amp/amphtml,powdercloud/amphtml,comScore/amphtml,shawnbuso/amphtml,yieldmo/amphtml,src-code/amphtml,kamtschatka/amphtml,tlong2/amphtml,gumgum/amphtml,chaveznvg/amphtml,cory-work/amphtml,powdercloud/amphtml,bpaduch/amphtml,prateekbh/amphtml,engtat/amphtml,src-code/amphtml,alanorozco/amphtml,honeybadgerdontcare/amphtml,jpettitt/amphtml,sharethrough/amphtml,mhc-gh/amphtml,koshka/amphtml,donttrustthisbot/amphtml,ADITION/amphtml,taboola/amphtml,yieldmo/amphtml,zhouyx/amphtml,adiant/amphtml,nexxtv/amphtml