-
Notifications
You must be signed in to change notification settings - Fork 32
investigate dart fix
renames for this package
#139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
cc @MaryaBelanger, who asked about which class names had changed between packages |
Thanks Devon, this will be a big help until your For my understanding, what's the context behind symbols on the left that have no match in
|
Excellent questions! I believe the ones w/ no mappings may no longer exist in the new world? Or my script may not have found the correct mapping. What they should do will probably be specific to each symbol. I suspect that the ones that don't have mappings aren't ones that are commonly used however - they'll be on the long tail of usages. @srujzs and @sigmundch may be able to provide better advice however. |
When #141 lands it will contribute a markdown file w/ the mappings, which should be a good system-of-record for any manual updates we need to make to the mappings. |
I think the script might be missing some of these. The That being said, I'm sure there are classes that we expose but whose |
Thanks! I was able to find 1/2 dozen more renames by taking another pass through the dart:html source: 4c1aab0#diff-66b081f16cd4aea3b83a1c00aba3e3b4589d8ace8f501be6afecdf2c8481c1d4 I think most of the remaining items are just no longer in the DOM, but we can always update the table w/ new info. |
landed in #141 |
We should investigate using
dart fix
to rename from older dart:html class names to the newer package:web ones. At a first pass, here are the renames (this does not include symbols from dart:svg, ...).This table has all the changed symbols on the left - or symbols with no match in package:web - and all the matching symbols on the right. It doesn't include the ~300-400 that didn't change.
dart:html
package:web
AbortPaymentEvent
AccessibleNode
AccessibleNodeList
AnchorElement
HTMLAnchorElement
AnimationEffectReadOnly
AnimationEffectTiming
AnimationEffectTimingReadOnly
ApplicationCache
ApplicationCacheErrorEvent
AreaElement
HTMLAreaElement
AudioElement
HTMLAudioElement
BackgroundFetchClickEvent
BackgroundFetchedEvent
BackgroundFetchFailEvent
BackgroundFetchFetch
BackgroundFetchSettledFetch
BaseElement
HTMLBaseElement
BluetoothRemoteGattDescriptor
BluetoothRemoteGATTDescriptor
BodyElement
HTMLBodyElement
BRElement
HTMLBRElement
BudgetState
ButtonElement
HTMLButtonElement
CanvasElement
HTMLCanvasElement
CDataSection
CDATASection
ContentElement
Coordinates
Css
CSS
CssCharsetRule
CssConditionRule
CSSConditionRule
CssFontFaceRule
CSSFontFaceRule
CssGroupingRule
CSSGroupingRule
CssImageValue
CSSImageValue
CssImportRule
CSSImportRule
CssKeyframeRule
CSSKeyframeRule
CssKeyframesRule
CSSKeyframesRule
CssKeywordValue
CSSKeywordValue
CssMatrixComponent
CSSMatrixComponent
CssMediaRule
CSSMediaRule
CssNamespaceRule
CSSNamespaceRule
CssNumericValue
CSSNumericValue
CssPageRule
CSSPageRule
CssPerspective
CSSPerspective
CssPositionValue
CssResourceValue
CssRotation
CssRule
CSSRule
CssScale
CSSScale
CssSkew
CSSSkew
CssStyleDeclaration
CSSStyleDeclaration
CssStyleRule
CSSStyleRule
CssStyleSheet
CSSStyleSheet
CssStyleValue
CSSStyleValue
CssSupportsRule
CSSSupportsRule
CssTransformComponent
CSSTransformComponent
CssTransformValue
CSSTransformValue
CssTranslation
CssUnitValue
CSSUnitValue
CssUnparsedValue
CSSUnparsedValue
CssurlImageValue
CssVariableReferenceValue
CSSVariableReferenceValue
CssViewportRule
DataElement
HTMLDataElement
DataListElement
HTMLDataListElement
DeprecatedStorageInfo
DeprecatedStorageQuota
DeprecationReport
DetailsElement
HTMLDetailsElement
DeviceAcceleration
DeviceRotationRate
DialogElement
HTMLDialogElement
DivElement
HTMLDivElement
DListElement
HTMLDListElement
DomError
DomException
DOMException
DomImplementation
DOMImplementation
DomIterator
DomMatrix
DOMMatrix
DomMatrixReadOnly
DOMMatrixReadOnly
DomParser
DOMParser
DomPoint
DOMPoint
DomPointReadOnly
DOMPointReadOnly
DomQuad
DOMQuad
DomRectList
DOMRectList
DomRectReadOnly
DOMRectReadOnly
DomStringList
DOMStringList
DomStringMap
DOMStringMap
DomTokenList
DOMTokenList
EmbedElement
HTMLEmbedElement
Entry
FieldSetElement
HTMLFieldSetElement
FileEntry
FileWriter
ForeignFetchEvent
FormElement
HTMLFormElement
Geoposition
HeadElement
HTMLHeadElement
HeadingElement
HTMLHeadingElement
HRElement
HTMLHRElement
HtmlCollection
HTMLCollection
HtmlDocument
Document
HtmlElement
HTMLElement
HtmlFormControlsCollection
HTMLFormControlsCollection
HtmlHtmlElement
HTMLHtmlElement
HtmlHyperlinkElementUtils
HTMLHyperlinkElementUtils
HtmlOptionsCollection
HTMLOptionsCollection
HttpRequest
XMLHttpRequest
HttpRequestEventTarget
XMLHttpRequestEventTarget
HttpRequestUpload
XMLHttpRequestUpload
IFrameElement
HTMLIFrameElement
ImageElement
HTMLImageElement
InputElement
HTMLInputElement
InstallEvent
InterventionReport
KeyframeEffectReadOnly
LabelElement
HTMLLabelElement
LegendElement
HTMLLegendElement
LIElement
HTMLLIElement
LinkElement
HTMLLinkElement
MapElement
HTMLMapElement
MediaElement
HTMLMediaElement
MediaKeysPolicy
MediaStreamEvent
MemoryInfo
MenuElement
HTMLMenuElement
Metadata
MetaElement
HTMLMetaElement
MeterElement
HTMLMeterElement
MidiAccess
MIDIAccess
MidiConnectionEvent
MIDIConnectionEvent
MidiInput
MIDIInput
MidiInputMap
MIDIInputMap
MidiMessageEvent
MIDIMessageEvent
MidiOutput
MIDIOutput
MidiOutputMap
MIDIOutputMap
MidiPort
MIDIPort
ModElement
HTMLModElement
NavigatorUserMediaError
NoncedElement
ObjectElement
HTMLObjectElement
OListElement
HTMLOListElement
OptGroupElement
HTMLOptGroupElement
OptionElement
HTMLOptionElement
OutputElement
HTMLOutputElement
ParagraphElement
HTMLParagraphElement
ParamElement
HTMLParamElement
PaymentAddress
PaymentInstruments
PictureElement
HTMLPictureElement
PositionError
PreElement
HTMLPreElement
ProgressElement
HTMLProgressElement
QuoteElement
HTMLQuoteElement
RtcCertificate
RTCCertificate
RtcDataChannel
RTCDataChannel
RtcDataChannelEvent
RTCDataChannelEvent
RtcDtmfSender
RTCDTMFSender
RtcDtmfToneChangeEvent
RTCDTMFToneChangeEvent
RtcIceCandidate
RTCIceCandidate
RtcLegacyStatsReport
RtcPeerConnection
RTCPeerConnection
RtcPeerConnectionIceEvent
RTCPeerConnectionIceEvent
RtcRtpContributingSource
RTCRtpContributingSource
RtcRtpReceiver
RTCRtpReceiver
RtcRtpSender
RTCRtpSender
RtcSessionDescription
RTCSessionDescription
RtcStatsReport
RTCStatsReport
RtcStatsResponse
RtcTrackEvent
RTCTrackEvent
ScriptElement
HTMLScriptElement
ScrollState
SelectElement
HTMLSelectElement
ShadowElement
SharedArrayBuffer
SlotElement
HTMLSlotElement
SourceElement
HTMLSourceElement
SpanElement
HTMLSpanElement
SpeechRecognitionError
StyleElement
HTMLStyleElement
StyleMedia
StylePropertyMapReadonly
StylePropertyMapReadOnly
TableCaptionElement
HTMLTableCaptionElement
TableColElement
HTMLTableColElement
TableElement
HTMLTableElement
TableRowElement
HTMLTableRowElement
TableSectionElement
HTMLTableSectionElement
TemplateElement
HTMLTemplateElement
TextAreaElement
HTMLTextAreaElement
TextEvent
TimeElement
HTMLTimeElement
TitleElement
HTMLTitleElement
TrackDefault
TrackDefaultList
TrackElement
HTMLTrackElement
TrustedHtml
TrustedHTML
TrustedScriptUrl
TrustedScriptURL
TrustedUrl
UListElement
HTMLUListElement
UnderlyingSourceBase
UnknownElement
HTMLUnknownElement
Url
URL
UrlSearchParams
URLSearchParams
VideoElement
HTMLVideoElement
VR
VRCoordinateSystem
VRDevice
VRDeviceEvent
VRDisplay
VRDisplayCapabilities
VRDisplayEvent
VREyeParameters
VRFrameData
VRFrameOfReference
VRPose
VRSession
VRSessionEvent
VRStageBounds
VRStageBoundsPoint
VRStageParameters
VttCue
VTTCue
VttRegion
VTTRegion
WorkerPerformance
XmlDocument
XMLDocument
XmlSerializer
XMLSerializer
XsltProcessor
XSLTProcessor
The text was updated successfully, but these errors were encountered: