tracker issue : CF-3040600

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 81169:[ANeff] Bug for: Div background color (of 1st div w/ content) is not honored when cfdocument/pdf is written directly to disk

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 12/14/2009

Components: Document Management, PDF generation

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 / 271842

Priority/Frequency: Normal / Unknown

Locale/System: English / Win All

Vote Count: 0

Problem:

[ANeff] Bug for: Div background color (of 1st div w/ content) is not honored when cfdocument/pdf is written directly to disk.
Method:

Run the following code with (and without) the cfdocument 'name' attribute.  Then compare both PDFs (the PDF written directly to browser, and the PDF written directly to disk)<cfdocument format="pdf" name="myPDF"><div style="background-color:#1a9cee;"></div><div style="background-color:#1a9cee; border:2px solid #1a9cee;">I am the 1st div w/ content. Background color is only honored when PDF is written to browser. When PDF is written to disk, background color is near black.</div><div style="background-color:#1a9cee; border:2px solid #1a9cee;">I am the 2nd div w/ content. Background color is always honored.</div></cfdocument><cfif structKeyExists(variables, "myPDF")>  <cfpdf action="write" source="variables.myPDF" destination="#expandPath('./MyPDF.pdf')#" overwrite="yes" /></cfif>
Result:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3040600

External Customer Info:
External Company:  
External Customer Name: Aaron Neff
External Customer Email: 3D1D17B03C844EBF992001AC
External Test Config: 12/14/2009

Attachments:

Comments: