Comments (1)
I've just edited the title of this issue to include "and numbers" because of a bug I've just noticed.
The additional bug is within DOMStringMap::correctCamelCase()
- the regular expression used doesn't match numbers, so doing something like $element->dataset->get("attr1")
will actually look for the name attr
rather than attr1
. This happens when getting and setting, and seems to be the cause of PhpGt/DomTemplate#478
from dom.
Related Issues (20)
- Extend DOMDocument, rather than Facade HOT 1
- Deprecation warnings for 8.1 HOT 1
- Test HTMLSelectElement::options when using optgroup
- escaped characters HOT 18
- PHPStan lies about types within certain traits
- Updating an ID attribute via its Node causes getElementById to fail
- Dataset automatic camel case to hyphen key conversion HOT 1
- Dependabot
- NodeList::forEach HOT 1
- AllowDynamicProperties
- Can't user this anymore on PHP 7.4? HOT 3
- Resolve deprecations HOT 12
- Dataset dynamic properties are not hyphen exploded properly
- Matrix builds & QA tools HOT 1
- PHP 8.2 introduces a bug where DOMElement::prepend does not retain same object reference
- querySelectorAll should return an array of Elements, not Nodes
- TextArea::value property
- HTMLSelectElement::disabled
- Compatibility Error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dom.